summaryrefslogtreecommitdiff
path: root/src/touchmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-11 01:15:25 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-11 01:15:25 +0300
commitcddb3dd72f0fdf4639270596b3bcc252b3216c3a (patch)
tree8941d557f9b9fe27c9f8dbb2f4a9ddee26624871 /src/touchmanager.h
parentfcd7af5db04ada44f9351ed7c1cac5b19001ace8 (diff)
downloadmanaplus-cddb3dd72f0fdf4639270596b3bcc252b3216c3a.tar.gz
manaplus-cddb3dd72f0fdf4639270596b3bcc252b3216c3a.tar.bz2
manaplus-cddb3dd72f0fdf4639270596b3bcc252b3216c3a.tar.xz
manaplus-cddb3dd72f0fdf4639270596b3bcc252b3216c3a.zip
Hide on screen buttons before enter to game and show in game.
Diffstat (limited to 'src/touchmanager.h')
-rw-r--r--src/touchmanager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/touchmanager.h b/src/touchmanager.h
index e93618fc8..883080514 100644
--- a/src/touchmanager.h
+++ b/src/touchmanager.h
@@ -135,6 +135,8 @@ class TouchManager final : public ConfigListener
int getPadSize()
{ return (mJoystickSize + 2) * 50; }
+ void setInGame(bool b);
+
private:
TouchItem *mKeyboard;
TouchItem *mPad;
@@ -148,6 +150,7 @@ class TouchManager final : public ConfigListener
bool mShowButtons;
int mButtonsSize;
int mJoystickSize;
+ bool mInGame;
};
extern TouchManager touchManager;