Planeshift
Public Member Functions | Protected Member Functions | Protected Attributes

pawsPetStatWindow Class Reference

This handles all the details about how the skill window. More...

#include <pawspetstatwindow.h>

List of all members.

Public Member Functions

virtual void Close ()
 Simply calls Hide() unless overidden.
void Draw ()
 Draws the widget and all of it's children.
virtual void HandleMessage (MsgEntry *msg)
virtual void Hide ()
 Makes widget invisible and removes focus if widget has current focus.
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.
 pawsPetStatWindow ()
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void SetTarget (GEMClientActor *actor)
virtual void Show ()
 Makes widget visible and brings it to the front.
void UpdateStats (GEMClientActor *actor)
virtual ~pawsPetStatWindow ()

Protected Member Functions

void BuySkill ()
void HandleSkillDescription (csString &description)
void HandleSkillList (csString &skills)
void SelectSkill (int skill)
bool SetupDoll ()

Protected Attributes

psCharAppearancecharApp
pawsMultiLineTextBoxcombatSkillDescription
pawsListBoxcombatSkillList
bool filter
int hitpointsMax
pawsProgressBarhpBar
pawsTextBoxhpCurrent
pawsTextBoxhpTotal
pawsMultiLineTextBoxknownSpellDescription
pawsListBoxknownSpellList
pawsMultiLineTextBoxmagicSkillDescription
pawsListBoxmagicSkillList
pawsProgressBarmanaBar
pawsTextBoxmanaCurrent
int manaMax
pawsTextBoxmanaTotal
pawsProgressBarmenStaminaBar
pawsTextBoxmenStaminaCurrent
int menStaminaMax
pawsTextBoxmenStaminaTotal
int physStaminaMax
pawsProgressBarpysStaminaBar
pawsTextBoxpysStaminaCurrent
pawsTextBoxpysStaminaTotal
csString selectedSkill
csString skillString
pawsMultiLineTextBoxstatsSkillDescription
pawsListBoxstatsSkillList
GEMClientActortarget
csString targetID
csArray< pawsListBoxRow * > unsortedSkills
 Array keeping the server order of the skills.
pawsMultiLineTextBoxvariousSkillDescription
pawsListBoxvariousSkillList
csRef< iDocumentSystem > xml

Detailed Description

This handles all the details about how the skill window.

Definition at line 37 of file pawspetstatwindow.h.


Constructor & Destructor Documentation

pawsPetStatWindow::pawsPetStatWindow ( )
virtual pawsPetStatWindow::~pawsPetStatWindow ( ) [virtual]

Member Function Documentation

void pawsPetStatWindow::BuySkill ( ) [protected]
virtual void pawsPetStatWindow::Close ( ) [virtual]

Simply calls Hide() unless overidden.

Reimplemented from pawsWidget.

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

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

Implements psClientNetSubscriber.

void pawsPetStatWindow::HandleSkillDescription ( csString &  description) [protected]
void pawsPetStatWindow::HandleSkillList ( csString &  skills) [protected]
virtual void pawsPetStatWindow::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 pawsPetStatWindow::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 pawsPetStatWindow::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 pawsPetStatWindow::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 pawsPetStatWindow::SelectSkill ( int  skill) [protected]
void pawsPetStatWindow::SetTarget ( GEMClientActor actor)
bool pawsPetStatWindow::SetupDoll ( ) [protected]
virtual void pawsPetStatWindow::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.

void pawsPetStatWindow::UpdateStats ( GEMClientActor actor)

Member Data Documentation

Definition at line 87 of file pawspetstatwindow.h.

Definition at line 67 of file pawspetstatwindow.h.

Definition at line 66 of file pawspetstatwindow.h.

bool pawsPetStatWindow::filter [protected]

Definition at line 77 of file pawspetstatwindow.h.

Definition at line 81 of file pawspetstatwindow.h.

Definition at line 69 of file pawspetstatwindow.h.

Definition at line 70 of file pawspetstatwindow.h.

Definition at line 70 of file pawspetstatwindow.h.

Definition at line 67 of file pawspetstatwindow.h.

Definition at line 66 of file pawspetstatwindow.h.

Definition at line 67 of file pawspetstatwindow.h.

Definition at line 66 of file pawspetstatwindow.h.

Definition at line 69 of file pawspetstatwindow.h.

Definition at line 70 of file pawspetstatwindow.h.

Definition at line 81 of file pawspetstatwindow.h.

Definition at line 70 of file pawspetstatwindow.h.

Definition at line 69 of file pawspetstatwindow.h.

Definition at line 70 of file pawspetstatwindow.h.

Definition at line 81 of file pawspetstatwindow.h.

Definition at line 70 of file pawspetstatwindow.h.

Definition at line 81 of file pawspetstatwindow.h.

Definition at line 69 of file pawspetstatwindow.h.

Definition at line 70 of file pawspetstatwindow.h.

Definition at line 70 of file pawspetstatwindow.h.

csString pawsPetStatWindow::selectedSkill [protected]

Definition at line 79 of file pawspetstatwindow.h.

csString pawsPetStatWindow::skillString [protected]

Definition at line 78 of file pawspetstatwindow.h.

Definition at line 68 of file pawspetstatwindow.h.

Definition at line 66 of file pawspetstatwindow.h.

Definition at line 85 of file pawspetstatwindow.h.

csString pawsPetStatWindow::targetID [protected]

Definition at line 86 of file pawspetstatwindow.h.

Array keeping the server order of the skills.

Definition at line 75 of file pawspetstatwindow.h.

Definition at line 68 of file pawspetstatwindow.h.

Definition at line 66 of file pawspetstatwindow.h.

csRef<iDocumentSystem> pawsPetStatWindow::xml [protected]

Definition at line 83 of file pawspetstatwindow.h.


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