diff options
author | Sebastian Geerken <devnull@localhost> | 2015-01-23 13:17:13 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2015-01-23 13:17:13 +0100 |
commit | 80229b2b5159af52b407fdf2f535d57c669bb667 (patch) | |
tree | 1119ca90bc237648a1dea0bd5392dbd759239bca /test/dw_simple_container.cc | |
parent | 101b4e1ddcf164b55ccf06513fc007463bfc0662 (diff) |
Simplified interrupted drawing. (Mouse events will follow.)
Diffstat (limited to 'test/dw_simple_container.cc')
-rw-r--r-- | test/dw_simple_container.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/dw_simple_container.cc b/test/dw_simple_container.cc index c1f22458..2e9ed6ae 100644 --- a/test/dw_simple_container.cc +++ b/test/dw_simple_container.cc @@ -209,13 +209,12 @@ void SimpleContainer::sizeAllocateImpl (Allocation *allocation) } void SimpleContainer::draw (View *view, Rectangle *area, - StackingIteratorStack *iteratorStack, - Widget **interruptedWidget) + DrawingContext *context) { drawWidgetBox (view, area, false); Rectangle childArea; - if (child && child->intersects (area, &childArea)) - child->drawTotal (view, &childArea, iteratorStack, interruptedWidget); + if (child && child->intersects (this, area, &childArea)) + child->draw (view, &childArea, context); } Iterator *SimpleContainer::iterator (Content::Type mask, bool atEnd) |