summaryrefslogtreecommitdiff
path: root/src/gui/windows/ministatuswindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/ministatuswindow.h')
-rw-r--r--src/gui/windows/ministatuswindow.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/windows/ministatuswindow.h b/src/gui/windows/ministatuswindow.h
index 6939f8f54..bab117c19 100644
--- a/src/gui/windows/ministatuswindow.h
+++ b/src/gui/windows/ministatuswindow.h
@@ -25,6 +25,7 @@
#include "inventory.h"
+#include "listeners/attributelistener.h"
#include "listeners/depricatedlistener.h"
#include "gui/widgets/window.h"
@@ -44,7 +45,8 @@ class TextPopup;
*/
class MiniStatusWindow final : public Window,
public InventoryListener,
- public DepricatedListener
+ public DepricatedListener,
+ public AttributeListener
{
public:
MiniStatusWindow();
@@ -90,6 +92,10 @@ class MiniStatusWindow final : public Window,
Rect getChildrenArea() override final A_WARN_UNUSED;
+ void attributeChanged(const int id,
+ const int oldVal,
+ const int newVal) override final;
+
#ifdef USE_PROFILER
void logicChildren();
#endif