Planeshift
Public Member Functions | Protected Attributes

pawsConfigActiveMagic Class Reference

#include <pawsconfigactivemagic.h>

List of all members.

Public Member Functions

virtual bool Initialize ()
virtual bool LoadConfig ()
 sets content of dialog according to current configuration
virtual bool OnButtonPressed (int, int, pawsWidget *)
 Called whenever a button is pressed.
virtual void OnListAction (pawsListBox *selected, int status)
 Called whenever an item in a child list box is selected.
virtual bool OnScroll (int, pawsScrollBar *)
 Called whenever a window is scrolled.
 pawsConfigActiveMagic ()
void PickText (const char *fontName, int size)
virtual bool PostSetup ()
 This is called after the widget and all of it's children have been created.
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
void SetMainWindowVisible (bool status)
void UpdateDangerLevel ()
void UpdateFlashLevel ()
void UpdateWarnLevel ()

Protected Attributes

pawsWidgetActiveMagic
pawsActiveMagicWindowActiveMagicWindow
pawsCheckBoxautoResize
pawsScrollBarbuttonHeight
pawsScrollBarbuttonWidth
pawsRadioButtonGroupbuttonWidthMode
pawsScrollBardangerLevel
pawsRadioButtonGroupdangerMode
pawsTextBoxdangerSetting
pawsScrollBarflashLevel
pawsRadioButtonGroupflashMode
pawsTextBoxflashSetting
bool loaded
pawsScrollMenuMenuBar
pawsRadioButtonGroupshowEffects
pawsCheckBoxshowWindow
pawsComboBoxtextFont
pawsTextBoxtextFontLabel
pawsScrollBartextSize
pawsTextBoxtextSizeLabel
pawsScrollBartextSpacing
pawsTextBoxtextSpacingLabel
pawsCheckBoxuseImages
pawsScrollBarwarnLevel
pawsRadioButtonGroupwarnMode
pawsTextBoxwarnSetting

Detailed Description

Definition at line 39 of file pawsconfigactivemagic.h.


Constructor & Destructor Documentation

pawsConfigActiveMagic::pawsConfigActiveMagic ( )

Member Function Documentation

virtual bool pawsConfigActiveMagic::Initialize ( ) [virtual]
virtual bool pawsConfigActiveMagic::LoadConfig ( ) [virtual]

sets content of dialog according to current configuration

Implements pawsConfigSectionWindow.

virtual bool pawsConfigActiveMagic::OnButtonPressed ( int  button,
int  keyModifier,
pawsWidget widget 
) [virtual]

Called whenever a button is pressed.

Parameters:
buttonThe button pressed.
keyModifierModifier key in effect.
widgetThe widget the button belongs to.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented from pawsWidget.

virtual void pawsConfigActiveMagic::OnListAction ( pawsListBox selected,
int  status 
) [virtual]

Called whenever an item in a child list box is selected.

Parameters:
selectedThe listbox that has the item selected.
statusFrom listbox when a row is selected.

Reimplemented from pawsWidget.

virtual bool pawsConfigActiveMagic::OnScroll ( int  scrollDirection,
pawsScrollBar widget 
) [virtual]

Called whenever a window is scrolled.

Parameters:
scrollDirectionThe direction to move.
widgetThe scrollbar widget being manipulated.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented from pawsWidget.

void pawsConfigActiveMagic::PickText ( const char *  fontName,
int  size 
)
virtual bool pawsConfigActiveMagic::PostSetup ( ) [virtual]

This is called after the widget and all of it's children have been created.

Remarks:
This can be useful for widgets that want to get pointers to some of it's children for quick access.

Reimplemented from pawsWidget.

virtual bool pawsConfigActiveMagic::SaveConfig ( ) [virtual]

remembers settings in-game and saves them permanently to a file also

Implements pawsConfigSectionWindow.

virtual void pawsConfigActiveMagic::SetDefault ( ) [virtual]

sets content of dialog according to default configuration

Implements pawsConfigSectionWindow.

void pawsConfigActiveMagic::SetMainWindowVisible ( bool  status)
void pawsConfigActiveMagic::UpdateDangerLevel ( )
void pawsConfigActiveMagic::UpdateFlashLevel ( )
void pawsConfigActiveMagic::UpdateWarnLevel ( )

Member Data Documentation

Definition at line 100 of file pawsconfigactivemagic.h.

Definition at line 66 of file pawsconfigactivemagic.h.

Definition at line 70 of file pawsconfigactivemagic.h.

Definition at line 74 of file pawsconfigactivemagic.h.

Definition at line 76 of file pawsconfigactivemagic.h.

Definition at line 75 of file pawsconfigactivemagic.h.

Definition at line 85 of file pawsconfigactivemagic.h.

Definition at line 87 of file pawsconfigactivemagic.h.

Definition at line 86 of file pawsconfigactivemagic.h.

Definition at line 89 of file pawsconfigactivemagic.h.

Definition at line 91 of file pawsconfigactivemagic.h.

Definition at line 90 of file pawsconfigactivemagic.h.

Definition at line 103 of file pawsconfigactivemagic.h.

Definition at line 101 of file pawsconfigactivemagic.h.

Definition at line 68 of file pawsconfigactivemagic.h.

Definition at line 72 of file pawsconfigactivemagic.h.

Definition at line 94 of file pawsconfigactivemagic.h.

Definition at line 93 of file pawsconfigactivemagic.h.

Definition at line 96 of file pawsconfigactivemagic.h.

Definition at line 95 of file pawsconfigactivemagic.h.

Definition at line 98 of file pawsconfigactivemagic.h.

Definition at line 97 of file pawsconfigactivemagic.h.

Definition at line 71 of file pawsconfigactivemagic.h.

Definition at line 81 of file pawsconfigactivemagic.h.

Definition at line 83 of file pawsconfigactivemagic.h.

Definition at line 82 of file pawsconfigactivemagic.h.


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