#include <status.h>
Definition at line 37 of file status.h.
Public Member Functions | |
StatusWindow (LocalPlayer *player) | |
Constructor. | |
void | action (const gcn::ActionEvent &event) |
Called when receiving actions from widget. | |
void | draw (gcn::Graphics *graphics) |
Draw this window. | |
void | update () |
Updates this dialog with values from PLAYER_INFO *char_info. | |
StatusWindow (LocalPlayer *player) | |
Constructor. | |
void | action (const gcn::ActionEvent &event) |
Called when receiving actions from widget. | |
void | draw (gcn::Graphics *graphics) |
Draw this window. | |
void | update () |
Updates this dialog with values from PLAYER_INFO *char_info. | |
Static Public Member Functions | |
static void | updateHPBar (ProgressBar *bar, bool showMax=false) |
static void | updateMPBar (ProgressBar *bar, bool showMax=false) |
static void | updateXPBar (ProgressBar *bar, bool percent=true) |
static void | updateJobBar (ProgressBar *bar, bool percent=true) |
static void | updateHPBar (ProgressBar *bar, bool showMax=false) |
Private Attributes | |
LocalPlayer * | mPlayer |
gcn::Label * | mLvlLabel |
Status Part. | |
gcn::Label * | mJobLvlLabel |
gcn::Label * | mGpLabel |
int | mCurrency |
gcn::Label * | mHpLabel |
gcn::Label * | mMpLabel |
gcn::Label * | mXpLabel |
gcn::Label * | mJobLabel |
ProgressBar * | mHpBar |
ProgressBar * | mMpBar |
ProgressBar * | mXpBar |
ProgressBar * | mJobBar |
gcn::Label * | mStatsAttackLabel |
Derived Statistics captions. | |
gcn::Label * | mStatsDefenseLabel |
gcn::Label * | mStatsMagicAttackLabel |
gcn::Label * | mStatsMagicDefenseLabel |
gcn::Label * | mStatsAccuracyLabel |
gcn::Label * | mStatsEvadeLabel |
gcn::Label * | mStatsReflexLabel |
gcn::Label * | mStatsAttackPoints |
gcn::Label * | mStatsDefensePoints |
gcn::Label * | mStatsMagicAttackPoints |
gcn::Label * | mStatsMagicDefensePoints |
gcn::Label * | mStatsAccuracyPoints |
gcn::Label * | mStatsEvadePoints |
gcn::Label * | mStatsReflexPoints |
gcn::Label * | mStatsLabel [6] |
Stats captions. | |
gcn::Label * | mPointsLabel [6] |
gcn::Label * | mStatsDisplayLabel [6] |
gcn::Label * | mRemainingStatsPointsLabel |
gcn::Button * | mStatsButton [6] |
Stats buttons. | |
LocalPlayer * | mPlayer |
gcn::Label * | mLvlLabel |
Status Part. | |
gcn::Label * | mMoneyLabel |
gcn::Label * | mHpValueLabel |
ProgressBar * | mHpBar |
gcn::Label * | mStatsLabel [6] |
Derived Statistics captions. | |
gcn::Label * | mStatsDisplayLabel [6] |
gcn::Label * | mCharacterPointsLabel |
gcn::Label * | mCorrectionPointsLabel |
gcn::Button * | mStatsPlus [6] |
Stats buttons. | |
gcn::Button * | mStatsMinus [6] |
StatusWindow::StatusWindow | ( | LocalPlayer * | player | ) |
StatusWindow::StatusWindow | ( | LocalPlayer * | player | ) |
Constructor.
void StatusWindow::action | ( | const gcn::ActionEvent & | event | ) |
void StatusWindow::draw | ( | gcn::Graphics * | graphics | ) |
void StatusWindow::update | ( | ) |
Updates this dialog with values from PLAYER_INFO *char_info.
Definition at line 171 of file status.cpp.
void StatusWindow::updateHPBar | ( | ProgressBar * | bar, | |
bool | showMax = false | |||
) | [static] |
Definition at line 288 of file status.cpp.
void StatusWindow::updateMPBar | ( | ProgressBar * | bar, | |
bool | showMax = false | |||
) | [static] |
Definition at line 364 of file status.cpp.
void StatusWindow::updateXPBar | ( | ProgressBar * | bar, | |
bool | percent = true | |||
) | [static] |
Definition at line 380 of file status.cpp.
void StatusWindow::updateJobBar | ( | ProgressBar * | bar, | |
bool | percent = true | |||
) | [static] |
Definition at line 402 of file status.cpp.
void StatusWindow::action | ( | const gcn::ActionEvent & | event | ) |
Called when receiving actions from widget.
void StatusWindow::draw | ( | gcn::Graphics * | graphics | ) |
void StatusWindow::update | ( | ) |
Updates this dialog with values from PLAYER_INFO *char_info.
static void StatusWindow::updateHPBar | ( | ProgressBar * | bar, | |
bool | showMax = false | |||
) | [static] |
LocalPlayer* StatusWindow::mPlayer [private] |
gcn::Label* StatusWindow::mLvlLabel [private] |
gcn::Label * StatusWindow::mJobLvlLabel [private] |
gcn::Label* StatusWindow::mGpLabel [private] |
int StatusWindow::mCurrency [private] |
gcn::Label * StatusWindow::mHpLabel [private] |
gcn::Label * StatusWindow::mMpLabel [private] |
gcn::Label * StatusWindow::mXpLabel [private] |
gcn::Label * StatusWindow::mJobLabel [private] |
ProgressBar* StatusWindow::mHpBar [private] |
ProgressBar * StatusWindow::mMpBar [private] |
ProgressBar* StatusWindow::mXpBar [private] |
ProgressBar * StatusWindow::mJobBar [private] |
gcn::Label* StatusWindow::mStatsAttackLabel [private] |
gcn::Label * StatusWindow::mStatsDefenseLabel [private] |
gcn::Label* StatusWindow::mStatsMagicAttackLabel [private] |
gcn::Label * StatusWindow::mStatsMagicDefenseLabel [private] |
gcn::Label* StatusWindow::mStatsAccuracyLabel [private] |
gcn::Label * StatusWindow::mStatsEvadeLabel [private] |
gcn::Label* StatusWindow::mStatsReflexLabel [private] |
gcn::Label* StatusWindow::mStatsAttackPoints [private] |
gcn::Label * StatusWindow::mStatsDefensePoints [private] |
gcn::Label* StatusWindow::mStatsMagicAttackPoints [private] |
gcn::Label * StatusWindow::mStatsMagicDefensePoints [private] |
gcn::Label* StatusWindow::mStatsAccuracyPoints [private] |
gcn::Label * StatusWindow::mStatsEvadePoints [private] |
gcn::Label* StatusWindow::mStatsReflexPoints [private] |
gcn::Label* StatusWindow::mStatsLabel[6] [private] |
gcn::Label* StatusWindow::mPointsLabel[6] [private] |
gcn::Label* StatusWindow::mStatsDisplayLabel[6] [private] |
gcn::Label* StatusWindow::mRemainingStatsPointsLabel [private] |
gcn::Button* StatusWindow::mStatsButton[6] [private] |
LocalPlayer* StatusWindow::mPlayer [private] |
Definition at line 65 of file statuswindow.h.
gcn::Label* StatusWindow::mLvlLabel [private] |
gcn::Label * StatusWindow::mMoneyLabel [private] |
Definition at line 70 of file statuswindow.h.
gcn::Label * StatusWindow::mHpValueLabel [private] |
Definition at line 70 of file statuswindow.h.
ProgressBar* StatusWindow::mHpBar [private] |
Definition at line 71 of file statuswindow.h.
gcn::Label* StatusWindow::mStatsLabel[6] [private] |
gcn::Label* StatusWindow::mStatsDisplayLabel[6] [private] |
Definition at line 91 of file statuswindow.h.
gcn::Label* StatusWindow::mCharacterPointsLabel [private] |
Definition at line 92 of file statuswindow.h.
gcn::Label* StatusWindow::mCorrectionPointsLabel [private] |
Definition at line 93 of file statuswindow.h.
gcn::Button* StatusWindow::mStatsPlus[6] [private] |
gcn::Button* StatusWindow::mStatsMinus[6] [private] |
Definition at line 99 of file statuswindow.h.