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.

27 lines
896 B
C++

#pragma once
#include "module.h"
#include "EnumPropertieType.h"
class CMarkObjPropertieMgr :public CModule
{
public:
CMarkObjPropertieMgr(void);
~CMarkObjPropertieMgr(void);
virtual void OnAppInitialize(){};
virtual CMFCPropertyGridProperty *CreatGridProperty();
virtual void OnPropertyChanged();
virtual MODULE GetModuleType(){return _OBJ_PROP;};
void UpdateSelMarkObjPropertie();
private:
CMFCPropertyGridProperty *CreatSpecialGridProperty(CModule *pModule);
void OnSpecialPropertyChanged();
void UpdateCommonPropVal();
bool MoveSelObj();
bool ResizeSelObj();
private:
Dbxy m_Coord;//选择obj 的坐标
DbSize m_Size;//选择obj 的尺寸
int m_PenNum;//选择obj 的笔号
};
extern CMarkObjPropertieMgr *gMarkObjPropertieMgr;