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.

32 lines
717 B
C++

#include "StdAfx.h"
#include "ModuleDrawMgr.h"
#include "LogMgr.h"
#include "PropertieMgr.h"
#include "MarkObjPropertieMgr.h"
#include "GlobalFunction.h"
CModuleDrawMgr gModuleDrawMgr;
CModuleDrawMgr::CModuleDrawMgr(void)
{
}
CModuleDrawMgr::~CModuleDrawMgr(void)
{
DeleteAllModule();
}
//<2F><><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><><D7A2>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>˳<EFBFBD><CBB3>)
void CModuleDrawMgr::CreatAllModule()
{
//obj <20><><EFBFBD>Թ<EFBFBD><D4B9><EFBFBD>ģ<EFBFBD><C4A3>
m_ModuleVec.push_back((CModule*)gMarkObjPropertieMgr);
}
void CModuleDrawMgr::InsertModuleGridProperty(int CombType,CMFCPropertyGridCtrl &PropertyGrid)
{
set<MODULE> ModuleSet;
ModuleSet.insert(_OBJ_PROP);
if(gbFactoryMode)
{
InsertPropertiesToGrid(ModuleSet,PropertyGrid);
}
}