summaryrefslogtreecommitdiff
path: root/src/touchmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/touchmanager.h')
-rw-r--r--src/touchmanager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/touchmanager.h b/src/touchmanager.h
index 8668654ec..6f7b96a6d 100644
--- a/src/touchmanager.h
+++ b/src/touchmanager.h
@@ -151,7 +151,7 @@ class TouchManager final : public ConfigListener
void loadKeyboard();
- int getPadSize()
+ int getPadSize() const
{ return (mJoystickSize + 2) * 50; }
void setInGame(const bool b);
@@ -160,7 +160,7 @@ class TouchManager final : public ConfigListener
void shutdown();
- void executeAction(const std::string &event);
+ static void executeAction(const std::string &event);
private:
TouchItem *mKeyboard;
@@ -176,6 +176,8 @@ class TouchManager final : public ConfigListener
int mButtonsSize;
int mJoystickSize;
int mButtonsFormat;
+ int mWidth;
+ int mHeight;
bool mShow;
bool mInGame;
bool mTempHideButtons;