summaryrefslogtreecommitdiff
path: root/src/gui/widgets/statspage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/statspage.h')
-rw-r--r--src/gui/widgets/statspage.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/statspage.h b/src/gui/widgets/statspage.h
index b9ab37df5..5723b7d3d 100644
--- a/src/gui/widgets/statspage.h
+++ b/src/gui/widgets/statspage.h
@@ -23,6 +23,7 @@
#include "gui/widgets/attrs/attrdisplay.h"
+#include "listeners/attributelistener.h"
#include "listeners/statlistener.h"
#include "localconsts.h"
@@ -32,6 +33,7 @@ class VertContainer;
class StatsPage final : public Container,
public WidgetListener,
+ public AttributeListener,
public StatListener
{
public:
@@ -42,6 +44,10 @@ class StatsPage final : public Container,
void widgetResized(const Event &event) override final;
+ void attributeChanged(const AttributesT id,
+ const int oldVal,
+ const int newVal) override final;
+
void statChanged(const AttributesT id,
const int oldVal1,
const int oldVal2) override final;