📄 guifadeinbitmapctrl.h
字号:
//guiFadeinBitmapCtrl.h
/*/////////////////////////////////////////////////////////////////
李亦
liease@163.com 4040719
2006-7-24
/*/////////////////////////////////////////////////////////////////
#ifndef _GUIFADEINBITMAPCTRL_H_
#define _GUIFADEINBITMAPCTRL_H_
//#include "console/console.h"
//#include "console/consoleTypes.h"
//#include "dgl/dgl.h"
#ifndef _GUIBITMAPCTRL_H_
#include "gui/controls/guiBitmapCtrl.h"
#endif
class GuiFadeinBitmapCtrl : public GuiBitmapCtrl
{
typedef GuiBitmapCtrl Parent;
public:
U32 wakeTime;
bool done;
U32 fadeinTime;
U32 waitTime;
U32 fadeoutTime;
GuiFadeinBitmapCtrl()
{
wakeTime = 0;
fadeinTime = 1000;
waitTime = 2000;
fadeoutTime = 1000;
done = false;
}
void onPreRender();
void onMouseDown(const GuiEvent &);
bool onKeyDown(const GuiEvent &);
DECLARE_CONOBJECT(GuiFadeinBitmapCtrl);
bool onWake();
void onRender(Point2I offset, const RectI &updateRect);
static void initPersistFields();
};
#endif //_GUIFADEINBITMAPCTRL_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -