summaryrefslogtreecommitdiff
path: root/src/gui/windows/ministatuswindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-27 14:50:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-27 14:50:47 +0300
commit744b6e62e1252ca50445b21f671ad8d81dd28ea1 (patch)
tree79adc9663a740ed471e33c97932ce6b28de11377 /src/gui/windows/ministatuswindow.h
parent2ee2f8b060e4fe88feeeba5508189c916e55a70d (diff)
downloadmv-744b6e62e1252ca50445b21f671ad8d81dd28ea1.tar.gz
mv-744b6e62e1252ca50445b21f671ad8d81dd28ea1.tar.bz2
mv-744b6e62e1252ca50445b21f671ad8d81dd28ea1.tar.xz
mv-744b6e62e1252ca50445b21f671ad8d81dd28ea1.zip
Add AttributeListener.
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