aboutsummaryrefslogtreecommitdiff
path: root/dw/bullet.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-10-23 13:10:17 +0200
committerSebastian Geerken <devnull@localhost>2014-10-23 13:10:17 +0200
commit0c9973c7c8127da4129c1810c52c29f69eb8665f (patch)
treeb37fec0f342567b1ee55917b7b8dfe1d4518f0e7 /dw/bullet.cc
parent80122aabb6debd724228405c358541ecb88f63bf (diff)
Removed old Widget::draw (backward compatibility is not possible anyway).
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)