summaryrefslogtreecommitdiff
path: root/src/gui/ministatus.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-07-24 14:19:21 -0600
committerJared Adams <jaxad0127@gmail.com>2009-07-24 14:19:21 -0600
commitea6f492198a03cffc3be47df000fa16dfc3b262f (patch)
tree01ba3216ecbfa0bf1520211a940d689a8874baba /src/gui/ministatus.h
parent6f9ca0023ce77eb74d199a3c2e04e7d2b9d07494 (diff)
downloadmana-ea6f492198a03cffc3be47df000fa16dfc3b262f.tar.gz
mana-ea6f492198a03cffc3be47df000fa16dfc3b262f.tar.bz2
mana-ea6f492198a03cffc3be47df000fa16dfc3b262f.tar.xz
mana-ea6f492198a03cffc3be47df000fa16dfc3b262f.zip
Remove an ifdef in StatusWindow and update MP more
Also make MiniStatus only update the bars when needed (called by StatusWindow).
Diffstat (limited to 'src/gui/ministatus.h')
-rw-r--r--src/gui/ministatus.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/gui/ministatus.h b/src/gui/ministatus.h
index f5604486..de07e12d 100644
--- a/src/gui/ministatus.h
+++ b/src/gui/ministatus.h
@@ -40,8 +40,6 @@ class MiniStatusWindow : public Popup
public:
MiniStatusWindow();
- void draw(gcn::Graphics *graphics);
-
/**
* Sets one of the icons.
*/
@@ -51,12 +49,11 @@ class MiniStatusWindow : public Popup
void drawIcons(Graphics *graphics);
- private:
- /**
- * Updates this dialog with values from player_node.
- */
- void update();
+ void update(int id); // Same types as status window
+ void logic(); // Updates icons
+
+ private:
/*
* Mini Status Bars
*/
@@ -67,4 +64,6 @@ class MiniStatusWindow : public Popup
std::vector<AnimatedSprite *> mIcons;
};
+extern MiniStatusWindow *miniStatusWindow;
+
#endif