Planeshift
Public Member Functions

pawsSpellBookWindow Class Reference

This handles all the details about how the spell book works. More...

#include <pawsspellbookwindow.h>

List of all members.

Public Member Functions

virtual void HandleMessage (MsgEntry *msg)
bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
void OnListAction (pawsListBox *listbox, int status)
 Called whenever an item in a child list box is selected.
 pawsSpellBookWindow ()
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void Show ()
 When the window is opened let the controller window know about it.
virtual ~pawsSpellBookWindow ()

Detailed Description

This handles all the details about how the spell book works.

Definition at line 36 of file pawsspellbookwindow.h.


Constructor & Destructor Documentation

pawsSpellBookWindow::pawsSpellBookWindow ( )
virtual pawsSpellBookWindow::~pawsSpellBookWindow ( ) [virtual]

Member Function Documentation

virtual void pawsSpellBookWindow::HandleMessage ( MsgEntry msg) [virtual]

Implements psClientNetSubscriber.

bool pawsSpellBookWindow::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 pawsSpellBookWindow::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 pawsSpellBookWindow::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 pawsSpellBookWindow::Show ( void  ) [virtual]

When the window is opened let the controller window know about it.

Reimplemented from pawsControlledWindow.


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