diff options
author | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-07-25 13:06:47 +0000 |
---|---|---|
committer | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-07-25 13:06:47 +0000 |
commit | fbb717acfc2bd1f2a3cedf8465c817e8a5abec57 (patch) | |
tree | b197517690f9afa24bbbb4bf0a5dff8bd7b5b67e /src/gui/setup_keyboard.h | |
parent | 8e3fad97a5df4bfc706b0246794b00428bd207e0 (diff) | |
download | mana-fbb717acfc2bd1f2a3cedf8465c817e8a5abec57.tar.gz mana-fbb717acfc2bd1f2a3cedf8465c817e8a5abec57.tar.bz2 mana-fbb717acfc2bd1f2a3cedf8465c817e8a5abec57.tar.xz mana-fbb717acfc2bd1f2a3cedf8465c817e8a5abec57.zip |
keyboard config - keyboard setup gui re-designed, fixed errors in keyboard config.
m_id:16
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; }; |