Planeshift
|
class pawsConfigEntityLabels is options screen for configuration of entity labels (see client/entitylabels.h) More...
#include <pawsconfigentitylabels.h>
Public Member Functions | |
virtual bool | Initialize () |
from pawsConfigSectionWindow: | |
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) |
from pawsWidget: | |
virtual void | OnColorEntered (const char *name, int param, int color) |
from iOnColorEnteredAction (set color to param-identified label) | |
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 | ~pawsConfigEntityLabels () |
Protected Member Functions | |
bool | CreateTree () |
Creates the tree that makes the whole GUI. | |
Protected Attributes | |
pawsColorPromptWindow * | colorPicker |
the tree that makes whole window GUI | |
pawsRadioButtonGroup * | CreatureRBG |
Radio button group for set items labels visibility. | |
int | defLabelColors [ENTITY_TYPES_AMOUNT] |
array of entity labels colors | |
psEntityLabels * | entityLabels |
array of default entity labels colors | |
pawsRadioButtonGroup * | ItemRBG |
check box to select visibility of guild | |
int | labelColors [ENTITY_TYPES_AMOUNT] |
Radio button group for set creatures labels visibility. | |
pawsTree * | tree |
Adds widgets to all nodes in subtree with root 'subtreeRoot'. | |
pawsCheckBox * | visGuildCheck |
pointer to colorPicker window |
class pawsConfigEntityLabels is options screen for configuration of entity labels (see client/entitylabels.h)
Definition at line 37 of file pawsconfigentitylabels.h.
virtual pawsConfigEntityLabels::~pawsConfigEntityLabels | ( | ) | [virtual] |
bool pawsConfigEntityLabels::CreateTree | ( | ) | [protected] |
Creates the tree that makes the whole GUI.
virtual bool pawsConfigEntityLabels::Initialize | ( | ) | [virtual] |
from pawsConfigSectionWindow:
Implements pawsConfigSectionWindow.
virtual bool pawsConfigEntityLabels::LoadConfig | ( | ) | [virtual] |
sets content of dialog according to current configuration
Implements pawsConfigSectionWindow.
virtual bool pawsConfigEntityLabels::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 pawsConfigEntityLabels::OnChange | ( | pawsWidget * | widget | ) | [virtual] |
from pawsWidget:
Reimplemented from pawsWidget.
virtual void pawsConfigEntityLabels::OnColorEntered | ( | const char * | name, |
int | param, | ||
int | color | ||
) | [virtual] |
from iOnColorEnteredAction (set color to param-identified label)
Implements iOnColorEnteredAction.
virtual bool pawsConfigEntityLabels::SaveConfig | ( | ) | [virtual] |
remembers settings in-game and saves them permanently to a file also
Implements pawsConfigSectionWindow.
virtual void pawsConfigEntityLabels::SetDefault | ( | ) | [virtual] |
sets content of dialog according to default configuration
Implements pawsConfigSectionWindow.
pawsColorPromptWindow* pawsConfigEntityLabels::colorPicker [protected] |
the tree that makes whole window GUI
Definition at line 63 of file pawsconfigentitylabels.h.
pawsRadioButtonGroup* pawsConfigEntityLabels::CreatureRBG [protected] |
Radio button group for set items labels visibility.
Definition at line 66 of file pawsconfigentitylabels.h.
int pawsConfigEntityLabels::defLabelColors[ENTITY_TYPES_AMOUNT] [protected] |
array of entity labels colors
Definition at line 70 of file pawsconfigentitylabels.h.
psEntityLabels* pawsConfigEntityLabels::entityLabels [protected] |
array of default entity labels colors
Definition at line 71 of file pawsconfigentitylabels.h.
pawsRadioButtonGroup* pawsConfigEntityLabels::ItemRBG [protected] |
check box to select visibility of guild
Definition at line 65 of file pawsconfigentitylabels.h.
int pawsConfigEntityLabels::labelColors[ENTITY_TYPES_AMOUNT] [protected] |
Radio button group for set creatures labels visibility.
Definition at line 69 of file pawsconfigentitylabels.h.
pawsTree* pawsConfigEntityLabels::tree [protected] |
Adds widgets to all nodes in subtree with root 'subtreeRoot'.
-- color label and button that opens colorPicker
Definition at line 62 of file pawsconfigentitylabels.h.
pawsCheckBox* pawsConfigEntityLabels::visGuildCheck [protected] |
pointer to colorPicker window
Definition at line 64 of file pawsconfigentitylabels.h.