Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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)

Constructor & Destructor Documentation

AttackPanel::AttackPanel tfight engine_  ) 
 

Definition at line 110 of file attackpanel.cpp.

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


Member Function Documentation

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

Definition at line 174 of file attackpanel.cpp.

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

void AttackPanel::painter const PG_Rect src,
const ASCString name,
const PG_Rect dst
 

Definition at line 133 of file attackpanel.cpp.

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

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

Definition at line 102 of file attackpanel.cpp.

References ASCGUI_Window::setBarGraphColor().

Referenced by dispValue().

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

Definition at line 98 of file attackpanel.cpp.

References ASCGUI_Window::setBargraphValue().

Referenced by dispValue().

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

Definition at line 100 of file attackpanel.cpp.

References ASCGUI_Window::setLabelText().

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

Definition at line 99 of file attackpanel.cpp.

References ASCGUI_Window::setLabelText().

Referenced by dispValue().


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:16:16 2008 for Advanced Strategic Command by  doxygen 1.4.2