aboutsummaryrefslogtreecommitdiff
path: root/dw/imgrenderer.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-10-20 14:28:45 +0200
committerSebastian Geerken <devnull@localhost>2013-10-20 14:28:45 +0200
commitc07166853ee69c14dc3171e380717569fd9e8faf (patch)
tree8327f308603288e618434d1f91e47e45d7867590 /dw/imgrenderer.hh
parent75f98608a0e799ce294f39ddf538ec9ce63a5e8b (diff)
Documentation for image backgrounds.
Diffstat (limited to 'dw/imgrenderer.hh')
-rw-r--r--dw/imgrenderer.hh12
1 files changed, 12 insertions, 0 deletions
diff --git a/dw/imgrenderer.hh b/dw/imgrenderer.hh
index 1efeef8c..e254ae66 100644
--- a/dw/imgrenderer.hh
+++ b/dw/imgrenderer.hh
@@ -18,7 +18,19 @@ class ImgRenderer
public:
virtual ~ImgRenderer () { }
+ /**
+ * \brief Called, when an image buffer is attached.
+ *
+ * This is typically the case when all meta data (size, depth) has been read.
+ */
virtual void setBuffer (core::Imgbuf *buffer, bool resize = false) = 0;
+
+ /**
+ * \brief Called, when data from a row is available and has been copied into
+ * the image buffer.
+ *
+ * The implementation will typically queue the respective area for drawing.
+ */
virtual void drawRow (int row) = 0;
};