📄 vpdecoratorm.h
字号:
// VPDecoratorM.h: interface for the VPDecoratorM class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_VPDECORATORM_H__CC1525BD_D2C1_4F54_8264_4365DEC092B0__INCLUDED_)
#define AFX_VPDECORATORM_H__CC1525BD_D2C1_4F54_8264_4365DEC092B0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "VPointBase.h"
class VPDecoratorM : public VPointBase
{
public:
VPDecoratorM();
void Create_com(VPointBase* acomponent);
virtual ~VPDecoratorM();
virtual void DrawIt(CClientDC*pDC){component->DrawIt(pDC);};
virtual bool EqualTo(int xx,int yy){return component->EqualTo(xx,yy);};
virtual Graph* GetOwner(){return component->GetOwner();};
virtual int GetX(){return component->GetX();};
virtual int GetY(){return component->GetY();};
virtual void MoveTo(int xx,int yy){component->MoveTo(xx,yy);};
virtual Graph* SetOwner(Graph*pg){return component->SetOwner(pg);};
virtual void SetX(int xx);
virtual void SetY(int yy);
protected:
VPointBase *component;
};
#endif // !defined(AFX_VPDECORATORM_H__CC1525BD_D2C1_4F54_8264_4365DEC092B0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -