aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/layout.cc')
-rw-r--r--dw/layout.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/dw/layout.cc b/dw/layout.cc
index 600f2088..60cea8e0 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -379,6 +379,7 @@ void Layout::addWidget (Widget *widget)
if (widget->stackingContextMgr == NULL) {
widget->stackingContextMgr = new StackingContextMgr (widget);
DBG_OBJ_ASSOC (widget, widget->stackingContextMgr);
+ widget->stackingContextWidget = widget;
}
topLevel = widget;
@@ -661,6 +662,9 @@ bool Layout::calcScrollInto (int requestedValue, int requestedSize,
void Layout::draw (View *view, Rectangle *area)
{
+ DBG_OBJ_ENTER ("draw", 0, "draw", "%d, %d, %d * %d",
+ area->x, area->y, area->width, area->height);
+
Rectangle widgetArea, intersection, widgetDrawArea;
// First of all, draw background image. (Unlike background *color*,
@@ -705,6 +709,8 @@ void Layout::draw (View *view, Rectangle *area)
view->finishDrawing (&intersection);
}
}
+
+ DBG_OBJ_LEAVE ();
}
int Layout::currHScrollbarThickness()