📄 gameintro.h
字号:
// GameIntro.h: interface for the CGameIntro class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_GAMEINTRO_H__3F7D5E9B_4DB0_4D99_9299_BC244525D6AA__INCLUDED_)
#define AFX_GAMEINTRO_H__3F7D5E9B_4DB0_4D99_9299_BC244525D6AA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "BrewLoginCanvasBase.h"
#include "brewlogin.h"
#include "brewhall.h"
class CGameIntro : public CBrewLoginCanvasBase
{
public:
boolean m_bCenter;
AECHAR m_pText[128],m_pTopText[20];
int8 m_aCount[20]; //最多20行
CBrewLogin* frame1;
CBrewHall* frame2;
int m_nStrID,m_nTopTextID;
CGameIntro();
virtual ~CGameIntro();
virtual void setFrame(void*f)
{
int i = 0;
}
void setFrame(CBrewLogin *f);
void setFrame(CBrewHall *f);
virtual void GetInfoRect(); //显示主要信息的区域,不包含辅助内容
virtual void GetMainRect(AEERect& rt);
virtual void SetDisplayInfo(IDisplay* d);
void paint(IDisplay *d, IGraphics *g);
boolean key(UINT16 code, UINT32 param);
int GetSpecText(int nBegin,int nLen,AECHAR* buf,int nSize); //返回字符串的宽度
void DrawExtroInfo();
};
#endif // !defined(AFX_GAMEINTRO_H__3F7D5E9B_4DB0_4D99_9299_BC244525D6AA__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -