📄 ballengine.h
字号:
// BallEngine.h: interface for the CBallEngine class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_BALLENGINE_H__AEAC07DA_D8BA_4832_8223_A8A7AC1A75AD__INCLUDED_)
#define AFX_BALLENGINE_H__AEAC07DA_D8BA_4832_8223_A8A7AC1A75AD__INCLUDED_
#include <e32base.h>
#include "Ball.h"
class CBallEngine : public CBase
{
private:
CBallEngine();
void ConstructL();
public:
virtual ~CBallEngine();
static CBallEngine* NewL();
static CBallEngine* NewLC();
private:
RPointerArray<CBall> iArray;
RPointerArray<CFbsBitmap> iArrayBmps;
TRect iRect;
public:
void CreateBall();
void RemoveBall();
void Draw(CBitmapContext& aGc) const;
void SetRect(const TRect& aRect);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -