summaryrefslogtreecommitdiff
path: root/src/touchmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-16 02:50:13 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-16 02:50:13 +0300
commita9ddb1992d186d559f24370a33a987e281c134c5 (patch)
treee661ef11486bdfde907b6bf5dee0c4988911ddb9 /src/touchmanager.h
parenta44ad060d637ec363100d05ffc5a11fb52fef4af (diff)
downloadmv-a9ddb1992d186d559f24370a33a987e281c134c5.tar.gz
mv-a9ddb1992d186d559f24370a33a987e281c134c5.tar.bz2
mv-a9ddb1992d186d559f24370a33a987e281c134c5.tar.xz
mv-a9ddb1992d186d559f24370a33a987e281c134c5.zip
Hide screen buttons and joystick if setup window is opened.
Diffstat (limited to 'src/touchmanager.h')
-rw-r--r--src/touchmanager.h4
1 files changed, 4 insertions, 0 deletions
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;