Planeshift
Public Member Functions

pawsOkBox Class Reference

This is an ok button window box. More...

#include <pawsokbox.h>

List of all members.

Public Member Functions

bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
 pawsOkBox ()
 pawsOkBox (const pawsOkBox &origin)
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void SetNotify (pawsWidget *widget)
void SetText (const char *text)
virtual ~pawsOkBox ()

Detailed Description

This is an ok button window box.

Definition at line 39 of file pawsokbox.h.


Constructor & Destructor Documentation

pawsOkBox::pawsOkBox ( )
pawsOkBox::pawsOkBox ( const pawsOkBox origin)
virtual pawsOkBox::~pawsOkBox ( ) [virtual]

Member Function Documentation

bool pawsOkBox::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 pawsOkBox::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 pawsOkBox::SetNotify ( pawsWidget widget)
void pawsOkBox::SetText ( const char *  text)

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