Planeshift
Public Member Functions

pawsCreditsWindow Class Reference

#include <pawscreditswindow.h>

List of all members.

Public Member Functions

void Draw ()
 Draws the widget and all of it's children.
void Hide ()
 Makes widget invisible and removes focus if widget has current focus.
bool OnButtonPressed (int button, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
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.
 ~pawsCreditsWindow ()

Detailed Description

Definition at line 28 of file pawscreditswindow.h.


Constructor & Destructor Documentation

pawsCreditsWindow::~pawsCreditsWindow ( ) [inline]

Definition at line 31 of file pawscreditswindow.h.


Member Function Documentation

void pawsCreditsWindow::Draw ( ) [virtual]

Draws the widget and all of it's children.

Remarks:
Uses clipping rect of it's parent to define drawing area. If the drawing area defined is empty it returns.

Reimplemented from pawsWidget.

void pawsCreditsWindow::Hide ( ) [virtual]

Makes widget invisible and removes focus if widget has current focus.

Sets visible FALSE, hides border if present and then if focused when called it calls SetCurrentFocusedWidget(NULL).

Reimplemented from pawsWidget.

bool pawsCreditsWindow::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 pawsCreditsWindow::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 pawsCreditsWindow::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: