mirror of https://github.com/axmolengine/axmol.git
hide system state bar when cocos2d running
This commit is contained in:
parent
221f07610c
commit
c83678f9b2
|
@ -405,7 +405,7 @@ CCXEGLView::~CCXEGLView()
|
||||||
|
|
||||||
Boolean CCXEGLView::AfterCreate(void)
|
Boolean CCXEGLView::AfterCreate(void)
|
||||||
{
|
{
|
||||||
TApplication pApp = TApplication::GetCurrentApplication();
|
TApplication *pApp = TApplication::GetCurrentApplication();
|
||||||
TRectangle rcHotArea(pApp->GetSystemStatusBarPosX(),
|
TRectangle rcHotArea(pApp->GetSystemStatusBarPosX(),
|
||||||
pApp->GetSystemStatusBarPosY(),
|
pApp->GetSystemStatusBarPosY(),
|
||||||
pApp->GetSystemStatusBarWidth(),
|
pApp->GetSystemStatusBarWidth(),
|
||||||
|
|
Loading…
Reference in New Issue