From a9ddb1992d186d559f24370a33a987e281c134c5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Dec 2012 02:50:13 +0300 Subject: Hide screen buttons and joystick if setup window is opened. --- src/touchmanager.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/touchmanager.h') diff --git a/src/touchmanager.h b/src/touchmanager.h index 883080514..cad10f3c6 100644 --- a/src/touchmanager.h +++ b/src/touchmanager.h @@ -137,6 +137,8 @@ class TouchManager final : public ConfigListener void setInGame(bool b); + void setTempHide(bool b); + private: TouchItem *mKeyboard; TouchItem *mPad; @@ -150,7 +152,9 @@ class TouchManager final : public ConfigListener bool mShowButtons; int mButtonsSize; int mJoystickSize; + bool mShow; bool mInGame; + bool mTempHideButtons; }; extern TouchManager touchManager; -- cgit v1.2.3-70-g09d2