diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-02-21 11:00:36 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-02-21 11:00:36 -0700 |
commit | 68340bb2222890407b03e2dd7868c0e13a13a156 (patch) | |
tree | 31a23db6f7a6d43ee410a807f90cb2f231c1fbef /src/gui/status.h | |
parent | df37ad4697e674d16859e69c0ce358283f410e20 (diff) | |
download | mana-68340bb2222890407b03e2dd7868c0e13a13a156.tar.gz mana-68340bb2222890407b03e2dd7868c0e13a13a156.tar.bz2 mana-68340bb2222890407b03e2dd7868c0e13a13a156.tar.xz mana-68340bb2222890407b03e2dd7868c0e13a13a156.zip |
Fix bug when maximum level is reached
Also centralize code for updating the various progress bars for player
status.
Diffstat (limited to 'src/gui/status.h')
-rw-r--r-- | src/gui/status.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/status.h b/src/gui/status.h index 136c6c3f..99facb28 100644 --- a/src/gui/status.h +++ b/src/gui/status.h @@ -57,6 +57,11 @@ class StatusWindow : public Window, public gcn::ActionListener */ void update(); + static void updateHPBar(ProgressBar *bar, bool showMax = false); + static void updateMPBar(ProgressBar *bar, bool showMax = false); + static void updateXPBar(ProgressBar *bar); + static void updateJobBar(ProgressBar *bar); + private: LocalPlayer *mPlayer; |