20 #ifndef PAWS_CONFIG_ENTITY_LABELS_HEADER 21 #define PAWS_CONFIG_ENTITY_LABELS_HEADER 24 #include <csutil/array.h> virtual bool OnButtonPressed(int mouseButton, int keyModifier, pawsWidget *widget)
Called whenever a button is pressed.
int labelColors[ENTITY_TYPES_AMOUNT]
Radio button group for set creatures labels visibility.
class psEntityLabels serves for creation and management of 2D sprites hanging above cel-entities that...
pawsColorPromptWindow is window that lets the user enter a color by the use of three sliders and a co...
A combination widget that has a check box and a text label.
psEntityLabels * entityLabels
array of default entity labels colors
virtual bool Initialize()
from pawsConfigSectionWindow:
int defLabelColors[ENTITY_TYPES_AMOUNT]
array of entity labels colors
virtual void SetDefault()
sets content of dialog according to default configuration
class pawsConfigEntityLabels is options screen for configuration of entity labels (see client/entityl...
virtual ~pawsConfigEntityLabels()
pawsColorPromptWindow * colorPicker
the tree that makes whole window GUI
virtual void OnColorEntered(const char *name, int param, int color)
from iOnColorEnteredAction (set color to param-identified label)
pawsRadioButtonGroup * CreatureRBG
Radio button group for set items labels visibility.
virtual bool LoadConfig()
sets content of dialog according to current configuration
pawsTree * tree
Adds widgets to all nodes in subtree with root 'subtreeRoot'.
CREATE_PAWS_FACTORY(pawsConfigEntityLabels)
virtual bool SaveConfig()
remembers settings in-game and saves them permanently to a file also
virtual bool OnChange(pawsWidget *widget)
from pawsWidget:
bool CreateTree()
Creates the tree that makes the whole GUI.
pawsCheckBox * visGuildCheck
pointer to colorPicker window
pawsRadioButtonGroup * ItemRBG
check box to select visibility of guild