📄 opguide.cpp
字号:
// OpGuide.cpp: implementation of the COpGuide class.
//
//////////////////////////////////////////////////////////////////////
#include "OpGuide.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
COpGuide::COpGuide()
{
m_bFullScr = true;
m_nStrID = IDS_HELP_OPGUIDE;
m_nTopTextID = IDS_HELP_OPGUIDETOP;
m_nBGID = 0; //不要背景
}
COpGuide::~COpGuide()
{
}
void COpGuide::GetMainRect(AEERect& rt)
{
CBrewLoginCanvasBase::GetMainRect(rt);
if(m_bFullScr)
return;
AEERect rttmp;
GetTopBarRect(rttmp);
rt.y += rttmp.dy + 10;
rt.dy -= 2 * (rttmp.dy + 3);
rt.x += 6;
rt.dx -= 12;
}
void COpGuide::paint(IDisplay *d, IGraphics *g)
{
if(!m_bFullScr)
{
IDISPLAY_SetColor(d ,CLR_USER_TEXT, RGB_WHITE);
IDISPLAY_SetColor(d,CLR_USER_BACKGROUND, RGB_BLACK);
AEERect rt;
GetMainRect(rt);
IDISPLAY_FillRect(d,&rt,RGB_BLACK);
}
CGameIntro::paint(d,g);
if(!m_bFullScr)
{
IDISPLAY_SetColor(d ,CLR_USER_TEXT, RGB_BLACK);
IDISPLAY_SetColor(d,CLR_USER_BACKGROUND, RGB_WHITE);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -