vpdecoratorm.h

来自「这是一个可以检索大量数据的程序」· C头文件 代码 · 共 36 行

H
36
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?