AttackPanel Class Reference

Inheritance diagram for AttackPanel:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AttackPanel (tfight &engine_)
void setBarGraphValue (const ASCString &widgetName, float fraction)
void setLabelText (const ASCString &widgetName, int i)
void setLabelText (const ASCString &widgetName, const ASCString &i)
void dispValue (const ASCString &name, float value, float maxvalue, PG_Color color)
void setBarGraphColor (const ASCString &widgetName, PG_Color color)
void painter (const PG_Rect &src, const ASCString &name, const PG_Rect &dst)

Detailed Description

Definition at line 93 of file attackpanel.cpp.


Constructor & Destructor Documentation

AttackPanel::AttackPanel ( tfight engine_  ) 

Definition at line 111 of file attackpanel.cpp.

References tfight::av, tfight::dv, and tfight::tavalues::experience.


Member Function Documentation

void AttackPanel::setBarGraphValue ( const ASCString widgetName,
float  fraction 
) [inline]

Definition at line 99 of file attackpanel.cpp.

References ASCGUI_Window::setBargraphValue().

Referenced by dispValue().

void AttackPanel::setLabelText ( const ASCString widgetName,
int  i 
) [inline]

Definition at line 100 of file attackpanel.cpp.

References ASCGUI_Window::setLabelText().

Referenced by dispValue().

void AttackPanel::setLabelText ( const ASCString widgetName,
const ASCString i 
) [inline]

Definition at line 101 of file attackpanel.cpp.

References ASCGUI_Window::setLabelText().

void AttackPanel::dispValue ( const ASCString name,
float  value,
float  maxvalue,
PG_Color  color 
)

Definition at line 175 of file attackpanel.cpp.

References ASCString::format(), setBarGraphColor(), setBarGraphValue(), setLabelText(), and yellow.

void AttackPanel::setBarGraphColor ( const ASCString widgetName,
PG_Color  color 
) [inline]

Definition at line 103 of file attackpanel.cpp.

References ASCGUI_Window::setBarGraphColor().

Referenced by dispValue().

void AttackPanel::painter ( const PG_Rect &  src,
const ASCString name,
const PG_Rect &  dst 
)

Definition at line 134 of file attackpanel.cpp.

References tfight::av, tfight::dv, getFirstBit(), IconRepository::getIcon(), SingleWeapon::getIconFileName(), tfight::tavalues::height, ASCString::toString(), tfight::tavalues::weapontype, and Surface::Wrap().


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:46:21 2012 for Advanced Strategic Command by  doxygen 1.5.1