Planeshift
|
#include <pawsconfigchatfont.h>
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. | |
pawsConfigChatFont () | |
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 | |
Protected Attributes | |
pawsChatWindow * | ChatWindow |
bool | loaded |
pawsComboBox * | textFont |
pawsScrollBar * | textSize |
pawsScrollBar * | textSpacing |
Definition at line 34 of file pawsconfigchatfont.h.
pawsConfigChatFont::pawsConfigChatFont | ( | ) |
virtual bool pawsConfigChatFont::Initialize | ( | ) | [virtual] |
Implements pawsConfigSectionWindow.
virtual bool pawsConfigChatFont::LoadConfig | ( | ) | [virtual] |
sets content of dialog according to current configuration
Implements pawsConfigSectionWindow.
virtual bool pawsConfigChatFont::OnButtonPressed | ( | int | button, |
int | keyModifier, | ||
pawsWidget * | widget | ||
) | [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.
virtual void pawsConfigChatFont::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 pawsConfigChatFont::OnScroll | ( | int | scrollDirection, |
pawsScrollBar * | widget | ||
) | [virtual] |
Called whenever a window is scrolled.
scrollDirection | The direction to move. |
widget | The scrollbar widget being manipulated. |
Reimplemented from pawsWidget.
void pawsConfigChatFont::PickText | ( | const char * | fontName, |
int | size | ||
) |
virtual bool pawsConfigChatFont::PostSetup | ( | ) | [virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
virtual bool pawsConfigChatFont::SaveConfig | ( | ) | [virtual] |
remembers settings in-game and saves them permanently to a file also
Implements pawsConfigSectionWindow.
virtual void pawsConfigChatFont::SetDefault | ( | ) | [virtual] |
sets content of dialog according to default configuration
Implements pawsConfigSectionWindow.
pawsChatWindow* pawsConfigChatFont::ChatWindow [protected] |
Definition at line 56 of file pawsconfigchatfont.h.
bool pawsConfigChatFont::loaded [protected] |
Definition at line 62 of file pawsconfigchatfont.h.
pawsComboBox* pawsConfigChatFont::textFont [protected] |
Definition at line 58 of file pawsconfigchatfont.h.
pawsScrollBar* pawsConfigChatFont::textSize [protected] |
Definition at line 59 of file pawsconfigchatfont.h.
pawsScrollBar* pawsConfigChatFont::textSpacing [protected] |
Definition at line 60 of file pawsconfigchatfont.h.