diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-11 01:15:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-11 01:15:25 +0300 |
commit | cddb3dd72f0fdf4639270596b3bcc252b3216c3a (patch) | |
tree | 8941d557f9b9fe27c9f8dbb2f4a9ddee26624871 /src/touchmanager.h | |
parent | fcd7af5db04ada44f9351ed7c1cac5b19001ace8 (diff) | |
download | manaverse-cddb3dd72f0fdf4639270596b3bcc252b3216c3a.tar.gz manaverse-cddb3dd72f0fdf4639270596b3bcc252b3216c3a.tar.bz2 manaverse-cddb3dd72f0fdf4639270596b3bcc252b3216c3a.tar.xz manaverse-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.h | 3 |
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; |