32 #include "toon/toon.h" 45 void computeSize(
const Common::String &origText, int16 *retX, int16 *retY);
46 void renderText(int16 x, int16 y,
const Common::String &origText, int32 mode);
48 void setFontColorByCharacter(int32 characterId);
49 void setFontColor(int32 fontColor1, int32 fontColor2, int32 fontColor3);
54 byte _currentFontColor[4];
55 byte textToFont(byte c);
73 DemoFont(uint8 glyphWidth, uint8 glyphHeight, uint16 numGlyphs);
76 uint8 *getGlyphData();
77 uint8 *getGlyphData(uint8 glyphNum);
79 uint8 getGlyphWidth(uint8 glyphNum);
81 void setGlyphDimensions(uint8 glyphNum,
GlyphDimensions &glyphDimensions);
83 void drawGlyph(
Graphics::Surface &surface, int32 glyphNum, int16 xx, int16 yy, byte *colorMap);