You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#pragma once
|
|
|
|
|
#include "GlobalDefine.h"
|
|
|
|
|
|
|
|
|
|
class CPropertie;
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3>--<2D><><EFBFBD>Ե<EFBFBD>ӳ<EFBFBD><D3B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
class CPropertieMgr
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CPropertieMgr(void);
|
|
|
|
|
~CPropertieMgr(void);
|
|
|
|
|
void Insert(CMFCPropertyGridProperty* p1,CPropertie* p2);
|
|
|
|
|
void OnPropertyChanged(LPARAM lParam);
|
|
|
|
|
void DelAllPropertie();
|
|
|
|
|
void SetSaveAllPropertie(bool b){m_bSaveAllPropertie = b;};
|
|
|
|
|
void SavePropertieByName(vector<CString> &PropertieNameVec);
|
|
|
|
|
void SaveAllPropertieToTxtFile(CString FilePath);
|
|
|
|
|
private:
|
|
|
|
|
void DelAllPropertieVec();
|
|
|
|
|
private:
|
|
|
|
|
map<CMFCPropertyGridProperty*,CPropertie*> m_PropertieValMap;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӳ<EFBFBD><D3B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
bool m_bSaveAllPropertie;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>洢<EFBFBD><E6B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
vector<CPropertie*> m_AllPropertieVec;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>洢<EFBFBD><E6B4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>ǿ<EFBFBD>Ʊ<EFBFBD><C6B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extern CPropertieMgr gDevicePropertieMgr;
|
|
|
|
|
extern CPropertieMgr gDrawPropertieMgr;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Թ<EFBFBD><D4B9><EFBFBD>
|