aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-02-16 20:16:49 +0100
committerSebastian Geerken <devnull@localhost>2014-02-16 20:16:49 +0100
commitb308da7e0d226008d2daf94ca2b41f8c2b8c6fc1 (patch)
treed46bb07a8b63f0fadc5f04179871d1aac7328581 /dw/layout.cc
parentf5ab169f48fc872503b11335ff9d298a63f3b69a (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.cc')
-rw-r--r--dw/layout.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/dw/layout.cc b/dw/layout.cc
index c984b764..d35d30d7 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -245,6 +245,7 @@ Layout::Layout (Platform *platform)
topLevel = NULL;
widgetAtPoint = NULL;
+ queueQueueResizeList = new typed::Vector<QueueResizeItem> (4, true);
queueResizeList = new typed::Vector<Widget> (4, false);
DBG_OBJ_CREATE ("dw::core::Layout");
@@ -308,6 +309,8 @@ Layout::~Layout ()
topLevel = NULL;
delete w;
}
+
+ delete queueQueueResizeList;
delete queueResizeList;
delete platform;
delete view;