diff options
Diffstat (limited to 'src/gui/setup_keyboard.h')
-rw-r--r-- | src/gui/setup_keyboard.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/gui/setup_keyboard.h b/src/gui/setup_keyboard.h index 4701487b..ccc2558f 100644 --- a/src/gui/setup_keyboard.h +++ b/src/gui/setup_keyboard.h @@ -52,19 +52,14 @@ class Setup_Keyboard : public SetupTab, public gcn::ActionListener void action(const gcn::ActionEvent &event); /** - * Easy way to disable/enable all the set buttons. - */ - void enableSetButtons(bool bValue); - - /** * Get an update on the assigned key. */ - void refreshAssignedKey(const int index); + void refreshAssignedKey(int index); /** * The callback function when a new key has been pressed. */ - void newKeyCallback(const int index); + void newKeyCallback(int index); /** * Shorthand method to update all the keys. @@ -72,10 +67,10 @@ class Setup_Keyboard : public SetupTab, public gcn::ActionListener void refreshKeys(); private: - gcn::Label *mKeyLabel; - - Button *mKeyButton; + class KeyListModel *mKeyListModel; + gcn::ListBox *mKeyList; + gcn::Button *mAssignKeyButton; gcn::Button *mMakeDefaultButton; }; |