diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-09-16 22:15:32 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-09-16 22:15:32 +0000 |
commit | ad33117cb10b2aca5c70547af9c1fdf3ff7bc6e9 (patch) | |
tree | f8c50211bb91b80c009424fd7dc2eec201749fd3 /src/gui/status.h | |
parent | 927a23261b6d974969948d0a80478f3e0b88752a (diff) | |
download | mana-ad33117cb10b2aca5c70547af9c1fdf3ff7bc6e9.tar.gz mana-ad33117cb10b2aca5c70547af9c1fdf3ff7bc6e9.tar.bz2 mana-ad33117cb10b2aca5c70547af9c1fdf3ff7bc6e9.tar.xz mana-ad33117cb10b2aca5c70547af9c1fdf3ff7bc6e9.zip |
Improved General GUI Layout.
Diffstat (limited to 'src/gui/status.h')
-rw-r--r-- | src/gui/status.h | 50 |
1 files changed, 38 insertions, 12 deletions
diff --git a/src/gui/status.h b/src/gui/status.h index 99fbadf5..3d9165af 100644 --- a/src/gui/status.h +++ b/src/gui/status.h @@ -21,8 +21,8 @@ * $Id$ */ -#ifndef _TMW_STATS_H -#define _TMW_STATS_H +#ifndef _TMW_STATUS_H +#define _TMW_STATUS_H #include <iosfwd> @@ -64,20 +64,46 @@ class StatusWindow : public Window, public gcn::ActionListener { private: /** - * Updates this dialog with values from <code>player_info</code> + * Updates this dialog with values from PLAYER_INFO *char_info */ void update(); - gcn::Label *hp, *sp; - gcn::Label *hpValue, *spValue; - gcn::Label *expLabel, *jobExpLabel; - ProgressBar *healthBar, *manaBar; + /** + * Status Part + */ + gcn::Label *lvlLabel, *gpLabel, *hpLabel, *hpValueLabel, *mpLabel, *mpValueLabel; + gcn::Label *xpLabel, *xpValueLabel, *jobXpLabel, *jobValueLabel; + ProgressBar *hpBar, *mpBar; ProgressBar *xpBar, *jobXpBar; - gcn::Button *statsButton; - gcn::Button *skillsButton; - gcn::Button *inventoryButton; - gcn::Button *setupButton; - gcn::Button *equipmentButton; + + /** + * Caracteristics Part + */ + gcn::Label *statsTitleLabel, *statsTotalLabel, *statsCostLabel; + + /** + * Derived Statistics captions + */ + gcn::Label *statsAttackLabel, *statsDefenseLabel, *statsMagicAttackLabel; + gcn::Label *statsMagicDefenseLabel, *statsAccuracyLabel, *statsEvadeLabel; + gcn::Label *statsReflexLabel; + + gcn::Label *statsAttackPoints, *statsDefensePoints, *statsMagicAttackPoints; + gcn::Label *statsMagicDefensePoints, *statsAccuracyPoints, *statsEvadePoints; + gcn::Label *statsReflexPoints; + + /** + * Stats captions. + */ + gcn::Label *statsLabel[6]; + gcn::Label *pointsLabel[6]; + gcn::Label *statsDisplayLabel[6]; + gcn::Label *remainingStatsPointsLabel; + + /** + * Stats buttons. + */ + gcn::Button *statsButton[6]; }; extern StatusWindow *statusWindow; |