summaryrefslogtreecommitdiff
path: root/dw/image.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/image.cc
parent80122aabb6debd724228405c358541ecb88f63bf (diff)
Removed old Widget::draw (backward compatibility is not possible anyway).
Diffstat (limited to 'dw/image.cc')
-rw-r--r--dw/image.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/dw/image.cc b/dw/image.cc
index 8a4be32f..881eb687 100644
--- a/dw/image.cc
+++ b/dw/image.cc
@@ -404,7 +404,8 @@ bool Image::buttonReleaseImpl (core::EventButton *event)
return false;
}
-void Image::draw (core::View *view, core::Rectangle *area)
+core::Widget *Image::draw (core::View *view, core::Rectangle *area,
+ core::StackingIteratorStack *iteratorStack)
{
int dx, dy;
core::Rectangle content, intersection;
@@ -468,6 +469,8 @@ void Image::draw (core::View *view, core::Rectangle *area)
}
/** TODO: draw selection */
+
+ return NULL;
}
core::Iterator *Image::iterator (core::Content::Type mask, bool atEnd)