From fbb717acfc2bd1f2a3cedf8465c817e8a5abec57 Mon Sep 17 00:00:00 2001 From: Joshua Langley Date: Wed, 25 Jul 2007 13:06:47 +0000 Subject: keyboard config - keyboard setup gui re-designed, fixed errors in keyboard config. m_id:16 --- src/gui/setup_keyboard.h | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'src/gui/setup_keyboard.h') 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 @@ -51,20 +51,15 @@ 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; }; -- cgit v1.2.3-70-g09d2