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 "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;//ѡ<><D1A1>obj <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
DbSize m_Size;//ѡ<><D1A1>obj <20>ijߴ<C4B3>
|
|
|
|
|
int m_PenNum;//ѡ<><D1A1>obj <20>ıʺ<C4B1>
|
|
|
|
|
};
|
|
|
|
|
extern CMarkObjPropertieMgr *gMarkObjPropertieMgr;
|