1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Android: Implement Autohiding button bars to cleanup screen

This commit is contained in:
Sapier 2015-12-13 23:00:05 +01:00 committed by Sapier
parent bde6194638
commit 06632205d8
7 changed files with 500 additions and 129 deletions

View file

@ -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
@ -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