?? gameform.h
字號:
#ifndef H_GAMEFORM
#define H_GAMEFORM
#include "Form.h"
#include "Box.h"
#include "Grid.h"
#include "DataType.h" // Added by ClassView
class GameForm:public Form
{
public:
//void drawNextBox(const Box & box)const;
//void drawScore(int score) const;
//void eraseScore()const;
//void drawLine(int n,COLORREF color)const;
void eraseGrid(void)const;
void drawGrid(const Grid &grid)const;
GameForm(Rect r, Rect g,COLORREF bColor, COLORREF fColor,int size);
void draw(void) const;
void drawBox(const Box &box) const;
void eraseBox(const Box &box) const;
private:
//Rect regionNextBox;
Rect regionGrid;
//Rect regionScore;
int unitSize;
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -