summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-06 12:21:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-06 12:21:38 +0300
commit2a4363ec9c80eafae21835c6c6fe92d7c10678ce (patch)
tree16d92581589e1c6554b667f49308bd10840887aa /src/gui/widgets/widget.h
parent20ad155838f202584cb261ff8a33fd458a04d83f (diff)
downloadmanaverse-2a4363ec9c80eafae21835c6c6fe92d7c10678ce.tar.gz
manaverse-2a4363ec9c80eafae21835c6c6fe92d7c10678ce.tar.bz2
manaverse-2a4363ec9c80eafae21835c6c6fe92d7c10678ce.tar.xz
manaverse-2a4363ec9c80eafae21835c6c6fe92d7c10678ce.zip
Add to widgets resize event handler.
In this handler set redraw flag.
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r--src/gui/widgets/widget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h
index 46245ea2b..f3e2fdb66 100644
--- a/src/gui/widgets/widget.h
+++ b/src/gui/widgets/widget.h
@@ -1021,6 +1021,10 @@ class Widget : public Widget2
void setRedraw(const bool b)
{ mRedraw = b; }
+ static void distributeWindowResizeEvent();
+
+ void windowResized();
+
protected:
/**
* Distributes an action event to all action listeners