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++
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();
|
|
}
|
|
//创建模块对象(注意模块初始化的顺序)
|
|
void CModuleDrawMgr::CreatAllModule()
|
|
{
|
|
//obj 属性管理模块
|
|
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);
|
|
}
|
|
|
|
} |