20 #ifndef PAWS_ACTIVEMAGIC_WINDOW_HEADER 21 #define PAWS_ACTIVEMAGIC_WINDOW_HEADER 36 #define CONFIG_ACTIVEMAGIC_FILE_NAME "/planeshift/userdata/options/activemagic.xml" 37 #define CONFIG_ACTIVEMAGIC_FILE_NAME_DEF "/planeshift/data/options/activemagic_def.xml" 50 bool Setup(iDocumentNode* node);
This is a window that is controlled by a button on the control bar.
pawsCheckBox * showWindow
Check-box which gives the user a opportunity to show or not to show the Active Magic Window...
A combination widget that has a check box and a text label.
bool LoadSetting()
Loads the configuration file.
void SetUseImages(bool setting)
void SetShowEffects(bool setting)
The structure of 1 queue entry (pointer to a message)
void SetWarnLevel(float val, bool low)
virtual void Close()
Simply calls Hide() unless overidden.
void HandleMessage(MsgEntry *me)
char const * GetFontName()
return the name of the font
CREATE_PAWS_FACTORY(pawsActiveMagicWindow)
A simple list box widget.
virtual ~pawsActiveMagicWindow()
virtual void Show()
When the window is opened let the controller window know about it.
void SetShowWindow(bool setting)
void SetDangerLevel(float val, bool low)
void OnResize()
Sets the new position of the close button.
This is a special type of text box that is used for messages.
void SetFlashLevel(float val, bool low)
bool Setup(iDocumentNode *node)
Setup this widget.
Window with current buffs and spells active on the character, and timer for buff to go away...
bool PostSetup()
This is called after the widget and all of it's children have been created.
void SetDangerMode(int i)
void SetAutoResize(bool setting)
virtual void Hide()
When the window is closed let the controller window know about it.