summaryrefslogtreecommitdiff
path: root/src/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-31 17:33:44 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-31 17:33:44 +0300
commit021fa9fe787fe4dd1a6d97b77e94400fac179f23 (patch)
tree05eebf64884503a17766f1755344568087fec0b2 /src/inputmanager.h
parentea886eaeabe20e5a51e91ec58067e2ebc20d4f99 (diff)
downloadmanaplus-021fa9fe787fe4dd1a6d97b77e94400fac179f23.tar.gz
manaplus-021fa9fe787fe4dd1a6d97b77e94400fac179f23.tar.bz2
manaplus-021fa9fe787fe4dd1a6d97b77e94400fac179f23.tar.xz
manaplus-021fa9fe787fe4dd1a6d97b77e94400fac179f23.zip
Add support for changable actions for onscreen controls.
Diffstat (limited to 'src/inputmanager.h')
-rw-r--r--src/inputmanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inputmanager.h b/src/inputmanager.h
index 4f1733ae4..7f2e3dd3d 100644
--- a/src/inputmanager.h
+++ b/src/inputmanager.h
@@ -167,6 +167,8 @@ class InputManager final
int getActionByKey(const SDL_Event &event) const A_WARN_UNUSED;
+ void executeAction(const int keyNum);
+
protected:
Setup_Input *mSetupInput; /**< Reference to setup window */