25 #include "common/language.h" 26 #include "mm/shared/xeen/xsurface.h" 27 #include "graphics/big5.h" 34 #define DEFAULT_BG_COLOR 0x99 36 enum Justify { JUSTIFY_NONE = 0, JUSTIFY_CENTER = 1, JUSTIFY_RIGHT = 2 };
39 static const byte *_fontData;
41 static byte _textColors[4];
43 static bool _fontReduced;
44 static Justify _fontJustify;
50 const char *_displayString;
59 int _fntEnReducedOffset;
61 int _fntNonEnReducedOffset;
63 int _fntEnReducedWOffset;
65 int _fntNonEnReducedWOffset;
70 uint16_t getNextChar();
75 bool getNextCharWidth(
int &total);
85 int fontAtoi(
int len = 3);
90 void setTextColor(
int idx);
95 void writeChar(uint16_t c,
const Common::Rect &clipRect);
107 void writeSymbol(
int symbolId);
124 void writeCharacter(uint16_t c,
const Common::Rect &clipRect);
Definition: xsurface.h:45
Definition: detection.h:27
Language
Definition: language.h:45