summaryrefslogtreecommitdiff
path: root/src/touchmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-31 02:00:06 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-31 02:00:06 +0300
commitf4f8701763eed4c1ab9badf004e4755126b98e9e (patch)
treef904efec07054d9be7bac7dba4d34b5de8bc49ce /src/touchmanager.h
parent021e567ba44650b0ab63e7f571dc0d622edbcc6d (diff)
downloadmanaverse-f4f8701763eed4c1ab9badf004e4755126b98e9e.tar.gz
manaverse-f4f8701763eed4c1ab9badf004e4755126b98e9e.tar.bz2
manaverse-f4f8701763eed4c1ab9badf004e4755126b98e9e.tar.xz
manaverse-f4f8701763eed4c1ab9badf004e4755126b98e9e.zip
Add option to show/hide onscreen keyboard icon.
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 05b062074..512c82909 100644
--- a/src/touchmanager.h
+++ b/src/touchmanager.h
@@ -135,6 +135,8 @@ class TouchManager final : public ConfigListener
void loadButtons();
+ void loadKeyboard();
+
int getPadSize()
{ return (mJoystickSize + 2) * 50; }
@@ -155,6 +157,7 @@ class TouchManager final : public ConfigListener
bool mRedraw;
bool mShowJoystick;
bool mShowButtons;
+ bool mShowKeyboard;
int mButtonsSize;
int mJoystickSize;
bool mShow;