summaryrefslogtreecommitdiff
path: root/src/gui/ministatus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/ministatus.h')
-rw-r--r--src/gui/ministatus.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/ministatus.h b/src/gui/ministatus.h
index ead2a5f51..3cf9eef16 100644
--- a/src/gui/ministatus.h
+++ b/src/gui/ministatus.h
@@ -22,6 +22,7 @@
#ifndef MINISTATUS_H
#define MINISTATUS_H
+#include "inventory.h"
#include "listener.h"
#include "gui/widgets/popup.h"
@@ -46,7 +47,9 @@ class TextPopup;
*
* \ingroup Interface
*/
-class MiniStatusWindow : public Popup, public Mana::Listener
+class MiniStatusWindow : public Popup,
+ public InventoryListener,
+ public Mana::Listener
{
public:
MiniStatusWindow();
@@ -80,6 +83,8 @@ class MiniStatusWindow : public Popup, public Mana::Listener
void updateBars();
+ void slotsChanged(Inventory* inventory);
+
std::list <ProgressBar*> &getBars()
{ return mBars; }
@@ -102,6 +107,7 @@ class MiniStatusWindow : public Popup, public Mana::Listener
ProgressBar *mXpBar;
ProgressBar *mJobBar;
ProgressBar *mWeightBar;
+ ProgressBar *mInvSlotsBar;
ProgressBar *mStatusBar;
TextPopup *mTextPopup;
StatusPopup *mStatusPopup;