Planeshift
Public Member Functions

pawsCharBirth Class Reference

#include <pawscharbirth.h>

List of all members.

Public Member Functions

void Draw ()
 Draws the widget and all of it's children.
ZodiacGetZodiac (const char *name)
ZodiacGetZodiac (unsigned int month)
bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
void OnListAction (pawsListBox *widget, int status)
 Called whenever an item in a child list box is selected.
 pawsCharBirth ()
 pawsCharBirth (const pawsCharBirth &origin)
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void Randomize ()
void Show ()
 Makes widget visible and brings it to the front.
 ~pawsCharBirth ()

Detailed Description

Definition at line 36 of file pawscharbirth.h.


Constructor & Destructor Documentation

pawsCharBirth::pawsCharBirth ( )
pawsCharBirth::~pawsCharBirth ( )
pawsCharBirth::pawsCharBirth ( const pawsCharBirth origin) [inline]

Definition at line 41 of file pawscharbirth.h.


Member Function Documentation

void pawsCharBirth::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.

Zodiac* pawsCharBirth::GetZodiac ( unsigned int  month)
Zodiac* pawsCharBirth::GetZodiac ( const char *  name)
bool pawsCharBirth::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.

void pawsCharBirth::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 pawsCharBirth::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 pawsCharBirth::Randomize ( )
void pawsCharBirth::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: