aboutsummaryrefslogtreecommitdiff
path: root/dw/imgrenderer.hh
blob: 9c7c6525f1c7a047f9cbc7adb1f4a57f6a40f93a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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__