22 #ifndef TOUCHE_GRAPHICS_H 23 #define TOUCHE_GRAPHICS_H 25 #include "common/language.h" 37 static int getStringWidth16(
const char *str);
38 static int getCharWidth16(uint8 chr);
39 static void drawString16(uint8 *dst,
int dstPitch, uint16 color,
int x,
int y,
const char *str,
int xmax = 0);
40 static int drawChar16(uint8 *dst,
int dstPitch, uint8 chr,
int x,
int y, uint16 color);
41 static void fillRect(uint8 *dst,
int dstPitch,
int x,
int y,
int w,
int h, uint8 color);
42 static void drawRect(uint8 *dst,
int dstPitch,
int x,
int y,
int w,
int h, uint8 color1, uint8 color2);
43 static void drawLine(uint8 *dst,
int dstPitch,
int x1,
int y1,
int x2,
int y2, uint8 color);
44 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);
45 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);
50 static const uint16 _engFontOffs[];
51 static const int _engFontSize;
52 static const uint8 _engFontData[];
55 static const uint16 _freGerFontOffs[];
56 static const int _freGerFontSize;
57 static const uint8 _freGerFontData[];
60 static const uint16 _spaFontOffs[];
61 static const int _spaFontSize;
62 static const uint8 _spaFontData[];
65 static const uint16 _polFontOffs[];
66 static const int _polFontSize;
67 static const uint8 _polFontData[];
70 static const uint16 _rusFontOffs[];
71 static const int _rusFontSize;
72 static const uint8 _rusFontData[];
74 static const uint16 *_fontOffs;
76 static const uint8 *_fontData;
Definition: formatinfo.h:28
Language
Definition: language.h:45