diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-15 19:00:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-15 19:34:01 +0300 |
commit | 29ef15b2fd5d3b3af1adaa8a4e168f9b791a9ed7 (patch) | |
tree | 8623a9f6274a4548262566e20c75f30806e08b25 /src/inputmanager.h | |
parent | 4193299e2e05d40477a50e5cb0fcc906227f53a2 (diff) | |
download | manaplus-29ef15b2fd5d3b3af1adaa8a4e168f9b791a9ed7.tar.gz manaplus-29ef15b2fd5d3b3af1adaa8a4e168f9b791a9ed7.tar.bz2 manaplus-29ef15b2fd5d3b3af1adaa8a4e168f9b791a9ed7.tar.xz manaplus-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.h | 6 |
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 */ |