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:
parent
bde6194638
commit
06632205d8
7 changed files with 500 additions and 129 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue