diff options
author | Sebastian Geerken <devnull@localhost> | 2013-12-09 14:16:01 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-12-09 14:16:01 +0100 |
commit | 6c7572f8bd23064f96ba716e1ba8ba8a34847001 (patch) | |
tree | 9990448e5bd7b7be13603e7a99bfd30ff411e939 /dw/layout.cc | |
parent | 5856a620dd96e458b4018bd9d65e28cdbc9907cf (diff) |
Activated RTFL again, see <http://www.dillo.org/~sgeerken/rtfl/>.
Diffstat (limited to 'dw/layout.cc')
-rw-r--r-- | dw/layout.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dw/layout.cc b/dw/layout.cc index 89361881..f7bd7597 100644 --- a/dw/layout.cc +++ b/dw/layout.cc @@ -245,7 +245,7 @@ Layout::Layout (Platform *platform) topLevel = NULL; widgetAtPoint = NULL; - DBG_OBJ_CREATE (this, "DwRenderLayout"); + DBG_OBJ_CREATE ("dw::core::Layout"); bgColor = NULL; bgImage = NULL; @@ -270,8 +270,8 @@ Layout::Layout (Platform *platform) textZone = new misc::ZoneAllocator (16 * 1024); - DBG_OBJ_ASSOC (&findtextState, this); - DBG_OBJ_ASSOC (&selectionState, this); + DBG_OBJ_ASSOC_CHILD (&findtextState); + DBG_OBJ_ASSOC_CHILD (&selectionState); platform->setLayout (this); @@ -354,6 +354,8 @@ void Layout::removeWidget () void Layout::setWidget (Widget *widget) { + DBG_OBJ_ASSOC_CHILD (widget); + widgetAtPoint = NULL; if (topLevel) { Widget *w = topLevel; @@ -377,6 +379,8 @@ void Layout::attachView (View *view) if (this->view) MSG_ERR("attachView: Multiple views for layout!\n"); + DBG_OBJ_ASSOC_CHILD (view); + this->view = view; platform->attachView (view); |