Planeshift
Public Member Functions

WidgetConfigWindow Class Reference

#include <widgetconfigwindow.h>

List of all members.

Public Member Functions

void Close ()
 Overrides the pawsWidget Close() in order to restore settings and null out the widget being configured.
bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
bool OnScroll (int direction, pawsScrollBar *widget)
 Called whenever a window is scrolled.
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void restoreSettings ()
 Restores the settings of the widget being configured to their previous values.
void SetConfigurableWidget (pawsWidget *w)
 WidgetConfigWindow ()
virtual ~WidgetConfigWindow ()

Detailed Description

Definition at line 40 of file widgetconfigwindow.h.


Constructor & Destructor Documentation

WidgetConfigWindow::WidgetConfigWindow ( )
virtual WidgetConfigWindow::~WidgetConfigWindow ( ) [inline, virtual]

Definition at line 45 of file widgetconfigwindow.h.


Member Function Documentation

void WidgetConfigWindow::Close ( ) [inline, virtual]

Overrides the pawsWidget Close() in order to restore settings and null out the widget being configured.

Reimplemented from pawsWidget.

Definition at line 56 of file widgetconfigwindow.h.

bool WidgetConfigWindow::OnButtonPressed ( int  button,
int  keyModifier,
pawsWidget widget 
) [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.

bool WidgetConfigWindow::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.

bool WidgetConfigWindow::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.

void WidgetConfigWindow::restoreSettings ( )

Restores the settings of the widget being configured to their previous values.

void WidgetConfigWindow::SetConfigurableWidget ( pawsWidget w)

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