Planeshift
Public Member Functions

pawsConfigTextPage Class Reference

#include <pawsconfigtextpage.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.
 pawsConfigTextPage ()
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 setTextName (csString *textName)
virtual void Show ()
 Makes widget visible and brings it to the front.

Detailed Description

Definition at line 33 of file pawsconfigtextpage.h.


Constructor & Destructor Documentation

pawsConfigTextPage::pawsConfigTextPage ( )

Member Function Documentation

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

sets content of dialog according to current configuration

Implements pawsConfigSectionWindow.

virtual bool pawsConfigTextPage::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 58 of file pawsconfigtextpage.h.

bool pawsConfigTextPage::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 53 of file pawsconfigtextpage.h.

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

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

Implements pawsConfigSectionWindow.

virtual void pawsConfigTextPage::SetDefault ( ) [virtual]

sets content of dialog according to default configuration

Implements pawsConfigSectionWindow.

void pawsConfigTextPage::setTextName ( csString *  textName)
virtual void pawsConfigTextPage::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: