#include <setup_keyboard.h>
Definition at line 33 of file setup_keyboard.h.
Public Member Functions | |
Setup_Keyboard () | |
Constructor. | |
~Setup_Keyboard () | |
Destructor. | |
void | apply () |
Called when the Apply button is pressed in the setup window. | |
void | cancel () |
Called when the Cancel button is pressed in the setup window. | |
void | action (const gcn::ActionEvent &event) |
void | refreshAssignedKey (int index) |
Get an update on the assigned key. | |
void | newKeyCallback (int index) |
The callback function when a new key has been pressed. | |
void | refreshKeys () |
Shorthand method to update all the keys. | |
void | keyUnresolved () |
If a key function is unresolved, then this reverts it. | |
Private Attributes | |
class KeyListModel * | mKeyListModel |
gcn::ListBox * | mKeyList |
gcn::Button * | mAssignKeyButton |
gcn::Button * | mMakeDefaultButton |
bool | mKeySetting |
flag to check if key being set. |
Setup_Keyboard::Setup_Keyboard | ( | ) |
Setup_Keyboard::~Setup_Keyboard | ( | ) |
void Setup_Keyboard::apply | ( | ) | [virtual] |
Called when the Apply button is pressed in the setup window.
Implements SetupTab.
Definition at line 113 of file setup_keyboard.cpp.
void Setup_Keyboard::cancel | ( | ) | [virtual] |
Called when the Cancel button is pressed in the setup window.
Implements SetupTab.
Definition at line 127 of file setup_keyboard.cpp.
void Setup_Keyboard::action | ( | const gcn::ActionEvent & | event | ) |
Definition at line 137 of file setup_keyboard.cpp.
void Setup_Keyboard::refreshAssignedKey | ( | int | index | ) |
void Setup_Keyboard::newKeyCallback | ( | int | index | ) |
The callback function when a new key has been pressed.
Definition at line 169 of file setup_keyboard.cpp.
void Setup_Keyboard::refreshKeys | ( | ) |
void Setup_Keyboard::keyUnresolved | ( | ) |
If a key function is unresolved, then this reverts it.
Definition at line 184 of file setup_keyboard.cpp.
class KeyListModel* Setup_Keyboard::mKeyListModel [private] |
Definition at line 72 of file setup_keyboard.h.
gcn::ListBox* Setup_Keyboard::mKeyList [private] |
Definition at line 73 of file setup_keyboard.h.
gcn::Button* Setup_Keyboard::mAssignKeyButton [private] |
Definition at line 75 of file setup_keyboard.h.
gcn::Button* Setup_Keyboard::mMakeDefaultButton [private] |
Definition at line 76 of file setup_keyboard.h.
bool Setup_Keyboard::mKeySetting [private] |