diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-27 19:03:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-27 19:03:49 +0300 |
commit | c77f06f7b80a67c842abe837beb2f22e9ecf60cc (patch) | |
tree | 65da775f4830fde8ccbf7a6d7514e42169321486 /src/gui/windows/ministatuswindow.h | |
parent | 8836d01c806f7d7e99befb5036148e8ff7b0e24e (diff) | |
download | ManaVerse-c77f06f7b80a67c842abe837beb2f22e9ecf60cc.tar.gz ManaVerse-c77f06f7b80a67c842abe837beb2f22e9ecf60cc.tar.bz2 ManaVerse-c77f06f7b80a67c842abe837beb2f22e9ecf60cc.tar.xz ManaVerse-c77f06f7b80a67c842abe837beb2f22e9ecf60cc.zip |
Add ArrowsListener.
Also fix arrows amount update on arrows pickup.
Diffstat (limited to 'src/gui/windows/ministatuswindow.h')
-rw-r--r-- | src/gui/windows/ministatuswindow.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/windows/ministatuswindow.h b/src/gui/windows/ministatuswindow.h index 171e1fe2f..3b7138a23 100644 --- a/src/gui/windows/ministatuswindow.h +++ b/src/gui/windows/ministatuswindow.h @@ -25,6 +25,7 @@ #include "inventory.h" +#include "listeners/arrowslistener.h" #include "listeners/attributelistener.h" #include "listeners/statlistener.h" @@ -46,7 +47,8 @@ class TextPopup; class MiniStatusWindow final : public Window, public InventoryListener, public AttributeListener, - public StatListener + public StatListener, + public ArrowsListener { public: MiniStatusWindow(); @@ -80,8 +82,6 @@ class MiniStatusWindow final : public Window, void updateBars(); - void updateArrows(); - void slotsChanged(Inventory *const inventory) override final; std::vector <ProgressBar*> &getBars() A_WARN_UNUSED @@ -97,6 +97,8 @@ class MiniStatusWindow final : public Window, const int oldVal1, const int oldVal2) override final; + void arrowsChanged(); + #ifdef USE_PROFILER void logicChildren(); #endif |