summaryrefslogtreecommitdiff
path: root/src/gui/widgets/statspage.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-26 22:58:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-26 22:58:31 +0300
commit182fe0545897aae420dddf92efc17784be622ebf (patch)
treed306d6706f928956211daed905f6547ec7bdb743 /src/gui/widgets/statspage.h
parent83981f76348655507d225aca220893e668b09bdc (diff)
downloadplus-182fe0545897aae420dddf92efc17784be622ebf.tar.gz
plus-182fe0545897aae420dddf92efc17784be622ebf.tar.bz2
plus-182fe0545897aae420dddf92efc17784be622ebf.tar.xz
plus-182fe0545897aae420dddf92efc17784be622ebf.zip
Try update attributes/stats in stat pages in any changes.
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;