diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-27 16:24:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-27 16:24:12 +0300 |
commit | a6f6dc9c2db87ed852cac1f8a3047f9b1d3efac0 (patch) | |
tree | bd1e6b6a1cdb42b5e6d4489158d438fe8c05f533 /src/gui/windows/ministatuswindow.h | |
parent | af0ae4d0b7c56d540639bb1f4ba7cc458ec718c1 (diff) | |
download | manaplus-a6f6dc9c2db87ed852cac1f8a3047f9b1d3efac0.tar.gz manaplus-a6f6dc9c2db87ed852cac1f8a3047f9b1d3efac0.tar.bz2 manaplus-a6f6dc9c2db87ed852cac1f8a3047f9b1d3efac0.tar.xz manaplus-a6f6dc9c2db87ed852cac1f8a3047f9b1d3efac0.zip |
Add StatListener.
Diffstat (limited to 'src/gui/windows/ministatuswindow.h')
-rw-r--r-- | src/gui/windows/ministatuswindow.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gui/windows/ministatuswindow.h b/src/gui/windows/ministatuswindow.h index bab117c19..171e1fe2f 100644 --- a/src/gui/windows/ministatuswindow.h +++ b/src/gui/windows/ministatuswindow.h @@ -26,7 +26,7 @@ #include "inventory.h" #include "listeners/attributelistener.h" -#include "listeners/depricatedlistener.h" +#include "listeners/statlistener.h" #include "gui/widgets/window.h" @@ -45,8 +45,8 @@ class TextPopup; */ class MiniStatusWindow final : public Window, public InventoryListener, - public DepricatedListener, - public AttributeListener + public AttributeListener, + public StatListener { public: MiniStatusWindow(); @@ -64,9 +64,6 @@ class MiniStatusWindow final : public Window, void drawIcons(Graphics *const graphics); - void processEvent(const Channels channel, - const DepricatedEvent &event) override final; - void updateStatus(); void logic() override final; @@ -96,6 +93,10 @@ class MiniStatusWindow final : public Window, const int oldVal, const int newVal) override final; + void statChanged(const int id, + const int oldVal1, + const int oldVal2) override final; + #ifdef USE_PROFILER void logicChildren(); #endif |