summaryrefslogtreecommitdiff
path: root/src/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-15 19:00:38 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-15 19:34:01 +0300
commit29ef15b2fd5d3b3af1adaa8a4e168f9b791a9ed7 (patch)
tree8623a9f6274a4548262566e20c75f30806e08b25 /src/inputmanager.h
parent4193299e2e05d40477a50e5cb0fcc906227f53a2 (diff)
downloadmanaverse-29ef15b2fd5d3b3af1adaa8a4e168f9b791a9ed7.tar.gz
manaverse-29ef15b2fd5d3b3af1adaa8a4e168f9b791a9ed7.tar.bz2
manaverse-29ef15b2fd5d3b3af1adaa8a4e168f9b791a9ed7.tar.xz
manaverse-29ef15b2fd5d3b3af1adaa8a4e168f9b791a9ed7.zip
In input settings tab add default button for reset selected action to default value.
Diffstat (limited to 'src/inputmanager.h')
-rw-r--r--src/inputmanager.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/inputmanager.h b/src/inputmanager.h
index 0738fbebb..be0acc23e 100644
--- a/src/inputmanager.h
+++ b/src/inputmanager.h
@@ -96,7 +96,9 @@ class InputManager
void store();
- void makeDefault();
+ void resetKeys();
+
+ void makeDefault(int i);
bool hasConflicts(int &key1, int &key2);
@@ -144,6 +146,8 @@ class InputManager
int getKeyIndex(int value, int grp, int type) const;
+ void update();
+
protected:
Setup_Input *mSetupInput; /**< Reference to setup window */