summaryrefslogtreecommitdiff
path: root/src/touchmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
commit5c3746562bafd61603c67958fc82ff097a69e3a4 (patch)
treec36e46dd4df2bc7388e7e82b6e6ae8294c4ecd02 /src/touchmanager.h
parent60b386b1a97a052cea867dd3a4f7a9c52394b312 (diff)
downloadmanaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.gz
manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.bz2
manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.xz
manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.zip
Add missing const and static into other classes.
Diffstat (limited to 'src/touchmanager.h')
-rw-r--r--src/touchmanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/touchmanager.h b/src/touchmanager.h
index 8668654ec..f937c1129 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;