diff options
author | Sapier <sapier@does.not.have.an.email> | 2015-12-13 23:00:05 +0100 |
---|---|---|
committer | Sapier <sapier AT gmx dot net> | 2015-12-18 20:35:54 +0100 |
commit | 06632205d8765b5417c36df798617721bab0d02f (patch) | |
tree | e412e4bf92d7dec5f7f7a91f0427f6f4c8da3236 /src/game.cpp | |
parent | bde6194638e8856c4df28d80ae6e15d2e9e31e91 (diff) | |
download | minetest-06632205d8765b5417c36df798617721bab0d02f.tar.gz minetest-06632205d8765b5417c36df798617721bab0d02f.tar.bz2 minetest-06632205d8765b5417c36df798617721bab0d02f.zip |
Android: Implement Autohiding button bars to cleanup screen
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index f6d59e4e3..3f025f6de 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -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 |