Planeshift
Public Member Functions

pawsConfigShadows Class Reference

#include <pawsconfigshadows.h>

List of all members.

Public Member Functions

void drawFrame ()
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.
bool OnChange (pawsWidget *)
 Called whenever a widget is selected.
virtual void OnListAction (pawsListBox *selected, int status)
 Called whenever an item in a child list box is selected.
 pawsConfigShadows ()
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
virtual void Show ()
 Makes widget visible and brings it to the front.

Detailed Description

Definition at line 30 of file pawsconfigshadows.h.


Constructor & Destructor Documentation

pawsConfigShadows::pawsConfigShadows ( )

Member Function Documentation

void pawsConfigShadows::drawFrame ( )
virtual bool pawsConfigShadows::Initialize ( ) [virtual]
virtual bool pawsConfigShadows::LoadConfig ( ) [virtual]

sets content of dialog according to current configuration

Implements pawsConfigSectionWindow.

virtual bool pawsConfigShadows::OnButtonPressed ( int  button,
int  keyModifier,
pawsWidget widget 
) [inline, 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.

Definition at line 48 of file pawsconfigshadows.h.

bool pawsConfigShadows::OnChange ( pawsWidget widget) [inline, virtual]

Called whenever a widget is selected.

Parameters:
widgetThe widget acted upon.
Returns:
Notify parent and return result FALSE if no parent.

Reimplemented from pawsWidget.

Definition at line 47 of file pawsconfigshadows.h.

virtual void pawsConfigShadows::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 pawsConfigShadows::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 pawsConfigShadows::SaveConfig ( ) [virtual]

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

Implements pawsConfigSectionWindow.

virtual void pawsConfigShadows::SetDefault ( ) [virtual]

sets content of dialog according to default configuration

Implements pawsConfigSectionWindow.

virtual void pawsConfigShadows::Show ( ) [virtual]

Makes widget visible and brings it to the front.

Sets visible TRUE shows border if present then calls BringToTop() on itself.

Reimplemented from pawsWidget.


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