Planeshift
|
#include <pawsconfigmouse.h>
Public Member Functions | |
virtual bool | Initialize () |
virtual bool | LoadConfig () |
sets content of dialog according to current configuration | |
virtual bool | OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget) |
Called whenever a button is pressed. | |
virtual bool | OnChange (pawsWidget *widget) |
Called whenever a widget is selected. | |
virtual bool | SaveConfig () |
remembers settings in-game and saves them permanently to a file also | |
virtual void | SetDefault () |
sets content of dialog according to default configuration | |
virtual | ~pawsConfigMouse () |
Protected Member Functions | |
bool | CreateTree () |
Creates the tree that makes the whole GUI. | |
void | CreateTreeWidgets (pawsTreeNode *subtreeRoot) |
void | HandleEditedAction (csString &editedAction) |
Update the ingame state depending on the action that was edited. | |
bool | LoadMouse (const char *fileName) |
void | SetActionLabels (pawsTreeNode *subtreeRoot) |
Protected Attributes | |
psMouseBinds | binds |
pawsTree * | tree |
Definition at line 40 of file pawsconfigmouse.h.
virtual pawsConfigMouse::~pawsConfigMouse | ( | ) | [virtual] |
bool pawsConfigMouse::CreateTree | ( | ) | [protected] |
Creates the tree that makes the whole GUI.
void pawsConfigMouse::CreateTreeWidgets | ( | pawsTreeNode * | subtreeRoot | ) | [protected] |
void pawsConfigMouse::HandleEditedAction | ( | csString & | editedAction | ) | [protected] |
Update the ingame state depending on the action that was edited.
virtual bool pawsConfigMouse::Initialize | ( | ) | [virtual] |
Implements pawsConfigSectionWindow.
virtual bool pawsConfigMouse::LoadConfig | ( | ) | [virtual] |
sets content of dialog according to current configuration
Implements pawsConfigSectionWindow.
bool pawsConfigMouse::LoadMouse | ( | const char * | fileName | ) | [protected] |
virtual bool pawsConfigMouse::OnButtonPressed | ( | int | button, |
int | keyModifier, | ||
pawsWidget * | widget | ||
) | [virtual] |
Called whenever a button is pressed.
button | The button pressed. |
keyModifier | Modifier key in effect. |
widget | The widget the button belongs to. |
Reimplemented from pawsWidget.
virtual bool pawsConfigMouse::OnChange | ( | pawsWidget * | widget | ) | [virtual] |
Called whenever a widget is selected.
widget | The widget acted upon. |
Reimplemented from pawsWidget.
virtual bool pawsConfigMouse::SaveConfig | ( | ) | [virtual] |
remembers settings in-game and saves them permanently to a file also
Implements pawsConfigSectionWindow.
void pawsConfigMouse::SetActionLabels | ( | pawsTreeNode * | subtreeRoot | ) | [protected] |
virtual void pawsConfigMouse::SetDefault | ( | ) | [virtual] |
sets content of dialog according to default configuration
Implements pawsConfigSectionWindow.
psMouseBinds pawsConfigMouse::binds [protected] |
Definition at line 73 of file pawsconfigmouse.h.
pawsTree* pawsConfigMouse::tree [protected] |
Definition at line 71 of file pawsconfigmouse.h.