plane.h

来自「Embedded VC “是男人就挺过二十秒”源代码」· C头文件 代码 · 共 28 行

H
28
字号
// Plane.h: interface for the CPlane class.
//
/**///////////////////////////////////////////////////////////////////////
#ifndef    PLANE_H
#define PLANE_H



class CPlane  
{
public:
    void Initialize(const RECT *lprcWndPlay);
    void GetCurrentPos(LPPOINT lpptOut);
    void Move(int iX,int iY);
    void DrawDestroy(HDC hdc);
    void GetCurrentRect(RECT * lprcOut);
    void SetCurrentPos(const LPPOINT lppt);
    void DrawNormal(HDC hdc);
    CPlane();
    virtual ~CPlane();

protected:
    POINT m_ptPos;
    RECT m_rcWndPlay;
};


#endif // #ifndef PLANE_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?