diff options
Diffstat (limited to 'engines/touche/graphics.h')
-rw-r--r-- | engines/touche/graphics.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/engines/touche/graphics.h b/engines/touche/graphics.h index 74928cefcf..6b4072d896 100644 --- a/engines/touche/graphics.h +++ b/engines/touche/graphics.h @@ -30,11 +30,6 @@ namespace Touche { -struct drawProcP { - uint8 *dst; - int width; -}; - class Graphics { public: @@ -49,15 +44,10 @@ public: static int drawChar16(uint8 *dst, int dstPitch, uint8 chr, int x, int y, uint16 color); static void fillRect(uint8 *dst, int dstPitch, int x, int y, int w, int h, uint8 color); static void drawRect(uint8 *dst, int dstPitch, int x, int y, int w, int h, uint8 color1, uint8 color2); + static void drawLine(uint8 *dst, int dstPitch, int x1, int y1, int x2, int y2, uint8 color); static void copyRect(uint8 *dst, int dstPitch, int dstX, int dstY, const uint8 *src, int srcPitch, int srcX, int srcY, int w, int h, int flags = 0); static void copyMask(uint8 *dst, int dstPitch, int dstX, int dstY, const uint8 *src, int srcPitch, int srcX, int srcY, int w, int h, uint8 fillColor); - static void drawProc(int x, int y, int c, void *data) { - drawProcP *param = (drawProcP *)data; - - *(param->dst + y * param->width + x) = c; - } - private: /* font data for english version */ |