From 20ad155838f202584cb261ff8a33fd458a04d83f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 6 Apr 2014 11:31:24 +0300 Subject: Move redraw flag from widgets into base widget. --- src/gui/widgets/widget.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/widgets/widget.h') diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h index 86b203666..46245ea2b 100644 --- a/src/gui/widgets/widget.h +++ b/src/gui/widgets/widget.h @@ -1018,6 +1018,9 @@ class Widget : public Widget2 bool isMouseConsume() const A_WARN_UNUSED { return mMouseConsume; } + void setRedraw(const bool b) + { mRedraw = b; } + protected: /** * Distributes an action event to all action listeners @@ -1230,6 +1233,8 @@ class Widget : public Widget2 bool mMouseConsume; + bool mRedraw; + /** * Holds the global font used by the widget. */ -- cgit v1.2.3-60-g2f50