Planeshift
Public Member Functions | Protected Member Functions | Protected Attributes

pawsSkillIndicator Class Reference

pawsSkillIndicator is a widget that graphically displays skill status More...

#include <pawsskillwindow.h>

List of all members.

Public Member Functions

void Draw ()
 Draws the widget and all of it's children.
 pawsSkillIndicator ()
void Set (unsigned int x, int rank, int y, int yCost, int z, int zCost)

Protected Member Functions

void DrawSkillProgressBar (int x, int y, int width, int height, int start_r, int start_g, int start_b)
unsigned int GetRelCoord (unsigned int pt)
 Calculates relative (to widget) horizontal coordinate of a point on the skill bar.

Protected Attributes

iGraphics2D * g2d
int rank
unsigned int x
 progression points
int y
int yCost
int z
int zCost
 Skill status.

Detailed Description

pawsSkillIndicator is a widget that graphically displays skill status

Definition at line 206 of file pawsskillwindow.h.


Constructor & Destructor Documentation

pawsSkillIndicator::pawsSkillIndicator ( )

Member Function Documentation

void pawsSkillIndicator::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 pawsSkillIndicator::DrawSkillProgressBar ( int  x,
int  y,
int  width,
int  height,
int  start_r,
int  start_g,
int  start_b 
) [protected]
unsigned int pawsSkillIndicator::GetRelCoord ( unsigned int  pt) [protected]

Calculates relative (to widget) horizontal coordinate of a point on the skill bar.

void pawsSkillIndicator::Set ( unsigned int  x,
int  rank,
int  y,
int  yCost,
int  z,
int  zCost 
)

Member Data Documentation

iGraphics2D* pawsSkillIndicator::g2d [protected]

Definition at line 223 of file pawsskillwindow.h.

Definition at line 221 of file pawsskillwindow.h.

progression points

Definition at line 220 of file pawsskillwindow.h.

Definition at line 221 of file pawsskillwindow.h.

Definition at line 221 of file pawsskillwindow.h.

Definition at line 221 of file pawsskillwindow.h.

Skill status.

Definition at line 221 of file pawsskillwindow.h.


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