aboutsummaryrefslogtreecommitdiff
path: root/dw/bullet.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/bullet.cc')
-rw-r--r--dw/bullet.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/dw/bullet.cc b/dw/bullet.cc
index acaf81cc..579de2c7 100644
--- a/dw/bullet.cc
+++ b/dw/bullet.cc
@@ -57,7 +57,8 @@ void Bullet::containerSizeChangedForChildren ()
DBG_OBJ_LEAVE ();
}
-void Bullet::draw (core::View *view, core::Rectangle *area)
+core::Widget *Bullet::draw (core::View *view, core::Rectangle *area,
+ core::StackingIteratorStack *iteratorStack)
{
int x, y, l;
bool filled = true;
@@ -80,6 +81,8 @@ void 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)