diff options
Diffstat (limited to 'dw/imgrenderer.hh')
-rw-r--r-- | dw/imgrenderer.hh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dw/imgrenderer.hh b/dw/imgrenderer.hh new file mode 100644 index 00000000..9c7c6525 --- /dev/null +++ b/dw/imgrenderer.hh @@ -0,0 +1,28 @@ +#ifndef __DW_IMGRENDERER_HH__ +#define __DW_IMGRENDERER_HH__ + +#ifndef __INCLUDED_FROM_DW_CORE_HH__ +# error Do not include this file directly, use "core.hh" instead. +#endif + +namespace dw { +namespace core { + +/** + * \brief ... + * + * \sa \ref dw-images-and-backgrounds + */ +class ImgRenderer +{ +public: + virtual void setBuffer (core::Imgbuf *buffer, bool resize = false) = 0; + virtual void drawRow (int row) = 0; +}; + +} // namespace core +} // namespace dw + +#endif // __DW_IMGRENDERER_HH__ + + |