Planeshift
Public Member Functions

pawsConfigChatBubbles Class Reference

#include <pawsconfigchatbubbles.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.
bool OnMouseDown (int button, int modifiers, int x, int y)
 Manage mouse down event to test for and apply window changes.
bool OnScroll (int direction, pawsScrollBar *widget)
 Called whenever a window is scrolled.
 pawsConfigChatBubbles ()
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 59 of file pawsconfigchatbubbles.h.


Constructor & Destructor Documentation

pawsConfigChatBubbles::pawsConfigChatBubbles ( )

Member Function Documentation

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

sets content of dialog according to current configuration

Implements pawsConfigSectionWindow.

virtual bool pawsConfigChatBubbles::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 77 of file pawsconfigchatbubbles.h.

bool pawsConfigChatBubbles::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 76 of file pawsconfigchatbubbles.h.

virtual void pawsConfigChatBubbles::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.

bool pawsConfigChatBubbles::OnMouseDown ( int  button,
int  modifiers,
int  x,
int  y 
) [virtual]

Manage mouse down event to test for and apply window changes.

Parameters:
buttonType of button: 1 resizable or movable, 2 context menu or config window.
modifiersUsed with PAWS_CONSTRUCTION.
xUsed to test for resize.
yUsed to test for resize.
Returns:
bool TRUE if movable or resizable.
Remarks:
calls OnMouseDown on it's parent.

Reimplemented from pawsWidget.

bool pawsConfigChatBubbles::OnScroll ( int  scrollDirection,
pawsScrollBar widget 
) [virtual]

Called whenever a window is scrolled.

Parameters:
scrollDirectionThe direction to move.
widgetThe scrollbar widget being manipulated.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented from pawsWidget.

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

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

Implements pawsConfigSectionWindow.

virtual void pawsConfigChatBubbles::SetDefault ( ) [virtual]

sets content of dialog according to default configuration

Implements pawsConfigSectionWindow.

virtual void pawsConfigChatBubbles::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: