diff options
author | Sebastian Geerken <devnull@localhost> | 2014-02-16 20:16:49 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-02-16 20:16:49 +0100 |
commit | b308da7e0d226008d2daf94ca2b41f8c2b8c6fc1 (patch) | |
tree | d46bb07a8b63f0fadc5f04179871d1aac7328581 /dw/layout.hh | |
parent | f5ab169f48fc872503b11335ff9d298a63f3b69a (diff) |
(i) Widget::ueueResize can now be called recursively (so to speak). (ii) Using (i), float size changes are handled correctly.
Diffstat (limited to 'dw/layout.hh')
-rw-r--r-- | dw/layout.hh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dw/layout.hh b/dw/layout.hh index 64274714..93af896a 100644 --- a/dw/layout.hh +++ b/dw/layout.hh @@ -150,9 +150,25 @@ private: ~Anchor (); }; + class QueueResizeItem: public lout::object::Object + { + public: + Widget *widget; + int ref; + bool extremesChanged; + + inline QueueResizeItem (Widget *widget, int ref, bool extremesChanged) + { + this->widget = widget; + this->ref = ref; + this->extremesChanged = extremesChanged; + } + }; + Platform *platform; View *view; Widget *topLevel, *widgetAtPoint; + lout::container::typed::Vector<QueueResizeItem> *queueQueueResizeList; lout::container::typed::Vector<Widget> *queueResizeList; /* The state, which must be projected into the view. */ |