
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) |
Definition at line 93 of file attackpanel.cpp.
| AttackPanel::AttackPanel | ( | tfight & | engine_ | ) |
Definition at line 111 of file attackpanel.cpp.
References tfight::av, tfight::dv, and tfight::tavalues::experience.
| 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::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().
1.5.1