box.h
来自「俄罗斯方块源码」· C头文件 代码 · 共 42 行
H
42 行
/***************************************************************************/
/* */
/* Box.h */
/* */
/* The rect object which indicates a ... */
/* . */
/* */
/* Copyright 2007 by */
/* Kan(EMail: k32459871@126.com.) */
/* Data: 2007-5-1 */
/* */
/***************************************************************************/
#ifndef _BOX_H_
#define _BOX_H_
#include "def.h"
#include "Color.h"
class Box
{
public:
Box(RGBVAL fillColor);
Box(RGBVAL fillColor,AEESize& Size);
/*Set The Draw Size*/
void SetSize(AEESize& Size);
/*Draw this at the point*/
void Draw(AEEPoint& Point,IGraphics* pIGraphics) const;
/*Set this block is filled or not*/
void Set_Filled(boolean isFilled);
protected:
private:
boolean _isFilled;
AEESize _Size;
RGBVAL _fillColor;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?