Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Android: Implement Autohiding button bars to cleanup screen
  • Loading branch information
Sapier authored and Sapier committed Dec 18, 2015
1 parent bde6194 commit 0663220
Show file tree
Hide file tree
Showing 7 changed files with 504 additions and 133 deletions.
4 changes: 2 additions & 2 deletions src/game.cpp
Expand Up @@ -2173,7 +2173,7 @@ bool Game::initGui()
#ifdef HAVE_TOUCHSCREENGUI

if (g_touchscreengui)
g_touchscreengui->init(texture_src, porting::getDisplayDensity());
g_touchscreengui->init(texture_src);

#endif

Expand Down Expand Up @@ -2570,7 +2570,7 @@ void Game::processUserInput(VolatileRunFlags *flags,
|| guienv->hasFocus(gui_chat_console)) {
input->clear();
#ifdef HAVE_TOUCHSCREENGUI
g_touchscreengui->Hide();
g_touchscreengui->hide();
#endif
}
#ifdef HAVE_TOUCHSCREENGUI
Expand Down
2 changes: 1 addition & 1 deletion src/modalMenu.h
Expand Up @@ -108,7 +108,7 @@ class GUIModalMenu : public gui::IGUIElement
this->remove();
#ifdef HAVE_TOUCHSCREENGUI
if (g_touchscreengui)
g_touchscreengui->Show();
g_touchscreengui->show();
#endif
}

Expand Down

0 comments on commit 0663220

Please sign in to comment.