summaryrefslogtreecommitdiff
path: root/src/gui/status.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-21 11:00:36 -0700
committerJared Adams <jaxad0127@gmail.com>2009-02-21 11:00:36 -0700
commit68340bb2222890407b03e2dd7868c0e13a13a156 (patch)
tree31a23db6f7a6d43ee410a807f90cb2f231c1fbef /src/gui/status.h
parentdf37ad4697e674d16859e69c0ce358283f410e20 (diff)
downloadmana-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.h5
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;