Planeshift
Public Member Functions

pawsConfigSpellChecker Class Reference

#include <pawsconfigspellchecker.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.
bool OnChange (pawsWidget *)
 Called whenever a widget is selected.
virtual void OnListAction (pawsListBox *, int)
 Called whenever an item in a child list box is selected.
 pawsConfigSpellChecker ()
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

Detailed Description

Definition at line 31 of file pawsconfigspellchecker.h.


Constructor & Destructor Documentation

pawsConfigSpellChecker::pawsConfigSpellChecker ( )

Member Function Documentation

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

sets content of dialog according to current configuration

Implements pawsConfigSectionWindow.

virtual bool pawsConfigSpellChecker::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 47 of file pawsconfigspellchecker.h.

bool pawsConfigSpellChecker::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 46 of file pawsconfigspellchecker.h.

virtual void pawsConfigSpellChecker::OnListAction ( pawsListBox selected,
int  status 
) [inline, 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.

Definition at line 52 of file pawsconfigspellchecker.h.

virtual bool pawsConfigSpellChecker::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 pawsConfigSpellChecker::SaveConfig ( ) [virtual]

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

Implements pawsConfigSectionWindow.

virtual void pawsConfigSpellChecker::SetDefault ( ) [virtual]

sets content of dialog according to default configuration

Implements pawsConfigSectionWindow.


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