summaryrefslogtreecommitdiff
path: root/src/gui/windows/ministatuswindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-27 16:24:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-27 16:24:12 +0300
commita6f6dc9c2db87ed852cac1f8a3047f9b1d3efac0 (patch)
treebd1e6b6a1cdb42b5e6d4489158d438fe8c05f533 /src/gui/windows/ministatuswindow.h
parentaf0ae4d0b7c56d540639bb1f4ba7cc458ec718c1 (diff)
downloadManaVerse-a6f6dc9c2db87ed852cac1f8a3047f9b1d3efac0.tar.gz
ManaVerse-a6f6dc9c2db87ed852cac1f8a3047f9b1d3efac0.tar.bz2
ManaVerse-a6f6dc9c2db87ed852cac1f8a3047f9b1d3efac0.tar.xz
ManaVerse-a6f6dc9c2db87ed852cac1f8a3047f9b1d3efac0.zip
Add StatListener.
Diffstat (limited to 'src/gui/windows/ministatuswindow.h')
-rw-r--r--src/gui/windows/ministatuswindow.h13
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