1 #ifndef _RENDERER_VESA_H
2 #define _RENDERER_VESA_H
4 #include "Renderer_16bpp.h"
6 class Renderer_vesa_555
: public Renderer_RGB555
{
8 Renderer_vesa_555(char *baseAddress
, int width
, int height
, int bytesPerRow
);
9 virtual void DrawLine(int x1
, int y1
, int x2
, int y2
, color32 color
, color_space cspace
);
10 virtual void FillRect(int x1
, int y1
, int x2
, int y2
, color32 color
, color_space cspace
);
11 virtual void CopyRect(const Rect
&source
, const Rect
&dest
);
13 virtual void Blit(int x
, int y
, const void *image
, color_space cspace
, int image_width
,
14 int image_height
, int imageStrideWidth
);
15 virtual void StretchBlit(const Rect
&imageRect
, const Rect
&displayRect
, const void *image
, color_space cspace
,
16 int imageStrideWidth
);
18 virtual void SetCursorPosition(int x
, int y
);
24 color555 fSavedBackground
[256];
25 int fCursorX
, fCursorY
;