aboutsummaryrefslogtreecommitdiff
path: root/dw/bullet.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-10-23 22:36:11 +0200
committerSebastian Geerken <devnull@localhost>2014-10-23 22:36:11 +0200
commit607814bdead6d72fb6825a5502e625a216114a1c (patch)
tree0e3cfd012c1d9d3000a77e8ccaaecdd754938705 /dw/bullet.cc
parent80898e60379898a69a09fa2bbfec02ae95c28ffd (diff)
Changed signature of Widget::draw and friends.
Diffstat (limited to 'dw/bullet.cc')
-rw-r--r--dw/bullet.cc7
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)