diff options
author | Sebastian Geerken <devnull@localhost> | 2014-10-23 22:36:11 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-10-23 22:36:11 +0200 |
commit | 607814bdead6d72fb6825a5502e625a216114a1c (patch) | |
tree | 0e3cfd012c1d9d3000a77e8ccaaecdd754938705 /dw/bullet.cc | |
parent | 80898e60379898a69a09fa2bbfec02ae95c28ffd (diff) |
Changed signature of Widget::draw and friends.
Diffstat (limited to 'dw/bullet.cc')
-rw-r--r-- | dw/bullet.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dw/bullet.cc b/dw/bullet.cc index 579de2c7..0b4b5983 100644 --- a/dw/bullet.cc +++ b/dw/bullet.cc @@ -57,8 +57,9 @@ void Bullet::containerSizeChangedForChildren () DBG_OBJ_LEAVE (); } -core::Widget *Bullet::draw (core::View *view, core::Rectangle *area, - core::StackingIteratorStack *iteratorStack) +void Bullet::draw (core::View *view, core::Rectangle *area, + core::StackingIteratorStack *iteratorStack, + Widget **interruptedWidget) { int x, y, l; bool filled = true; @@ -81,8 +82,6 @@ core::Widget *Bullet::draw (core::View *view, core::Rectangle *area, view->drawArc (getStyle()->color, core::style::Color::SHADING_NORMAL, filled, x + l/2, y + l/2, l, l, 0, 360); } - - return NULL; } core::Iterator *Bullet::iterator (core::Content::Type mask, bool atEnd) |