summaryrefslogtreecommitdiff
path: root/src/gui/setup_keyboard.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-06 00:44:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-07 00:11:31 +0300
commit631c4390274133697ab57437f8bef13a946aa3b7 (patch)
tree72e77f602a9cba37ac506708041021f503df7c4d /src/gui/setup_keyboard.h
parent1e7f9bf8dbb641fc3aae6f72ac421dc8a7a48ce3 (diff)
downloadmanaverse-631c4390274133697ab57437f8bef13a946aa3b7.tar.gz
manaverse-631c4390274133697ab57437f8bef13a946aa3b7.tar.bz2
manaverse-631c4390274133697ab57437f8bef13a946aa3b7.tar.xz
manaverse-631c4390274133697ab57437f8bef13a946aa3b7.zip
Split setup keyboard texts and actions.
Diffstat (limited to 'src/gui/setup_keyboard.h')
-rw-r--r--src/gui/setup_keyboard.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/setup_keyboard.h b/src/gui/setup_keyboard.h
index 5970a7735..3b5fd5dfa 100644
--- a/src/gui/setup_keyboard.h
+++ b/src/gui/setup_keyboard.h
@@ -46,6 +46,7 @@ class Setup_Keyboard : public SetupTab
~Setup_Keyboard();
void apply();
+
void cancel();
void action(const gcn::ActionEvent &event);
@@ -70,6 +71,8 @@ class Setup_Keyboard : public SetupTab
*/
void keyUnresolved();
+ int keyToSetupData(int index);
+
private:
class KeyListModel *mKeyListModel;
gcn::ListBox *mKeyList;