Planeshift
Public Member Functions | Public Attributes

pawsGMActionWindow Class Reference

#include <pawsgmaction.h>

List of all members.

Public Member Functions

void LoadAction (const char *xml)
void LoadAction (csRef< iDocumentNode > topNode)
bool OnButtonPressed (int button, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
bool OnChange (pawsWidget *widget)
 Called whenever a widget is selected.
 pawsGMActionWindow ()
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void Show ()
 Makes widget visible and brings it to the front.
virtual ~pawsGMActionWindow ()

Public Attributes

pawsCheckBoxchkActive

Detailed Description

Definition at line 38 of file pawsgmaction.h.


Constructor & Destructor Documentation

pawsGMActionWindow::pawsGMActionWindow ( )
virtual pawsGMActionWindow::~pawsGMActionWindow ( ) [virtual]

Member Function Documentation

void pawsGMActionWindow::LoadAction ( const char *  xml)
void pawsGMActionWindow::LoadAction ( csRef< iDocumentNode >  topNode)
bool pawsGMActionWindow::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 pawsGMActionWindow::OnChange ( pawsWidget widget) [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.

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


Member Data Documentation

Definition at line 41 of file pawsgmaction.h.


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