diff options
author | Sebastian Geerken <devnull@localhost> | 2014-10-14 20:08:26 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-10-14 20:08:26 +0200 |
commit | 6c5f32b8ec8f9a01ca0ab6107779bfa2eda5299b (patch) | |
tree | ab26c5b2c487f61dd1aa2a1cf218b76c1c016460 /dw/layout.cc | |
parent | d81d40e6849263a18281a5d64b95c2479ee9f120 (diff) |
Widget::stackingContextWidget; as well as some cleanup and debug messages.
Diffstat (limited to 'dw/layout.cc')
-rw-r--r-- | dw/layout.cc | 6 |
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() |