Planeshift
|
#include <pawsconfigtextpage.h>
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. |
Definition at line 33 of file pawsconfigtextpage.h.
pawsConfigTextPage::pawsConfigTextPage | ( | ) |
void pawsConfigTextPage::drawFrame | ( | ) |
virtual bool pawsConfigTextPage::Initialize | ( | ) | [virtual] |
Implements pawsConfigSectionWindow.
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.
button | The button pressed. |
keyModifier | Modifier key in effect. |
widget | The widget the button belongs to. |
Reimplemented from pawsWidget.
Definition at line 58 of file pawsconfigtextpage.h.
bool pawsConfigTextPage::OnChange | ( | pawsWidget * | widget | ) | [inline, virtual] |
Called whenever a widget is selected.
widget | The widget acted upon. |
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.
selected | The listbox that has the item selected. |
status | From 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.
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.