Setup_Keyboard Class Reference

#include <setup_keyboard.h>

Inheritance diagram for Setup_Keyboard:

SetupTab Container

List of all members.


Detailed Description

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 KeyListModelmKeyListModel
gcn::ListBox * mKeyList
gcn::Button * mAssignKeyButton
gcn::Button * mMakeDefaultButton
bool mKeySetting
 flag to check if key being set.

Constructor & Destructor Documentation

Setup_Keyboard::Setup_Keyboard (  ) 

Constructor.

Definition at line 71 of file setup_keyboard.cpp.

Setup_Keyboard::~Setup_Keyboard (  ) 

Destructor.

Definition at line 104 of file setup_keyboard.cpp.


Member Function Documentation

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  ) 

Get an update on the assigned key.

Definition at line 160 of file setup_keyboard.cpp.

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 (  ) 

Shorthand method to update all the keys.

Definition at line 176 of file setup_keyboard.cpp.

void Setup_Keyboard::keyUnresolved (  ) 

If a key function is unresolved, then this reverts it.

Definition at line 184 of file setup_keyboard.cpp.


Member Data Documentation

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.

flag to check if key being set.

Definition at line 78 of file setup_keyboard.h.


The documentation for this class was generated from the following files:

Generated on Sun Apr 26 17:30:44 2009 for The Mana World by  doxygen 1.5.5