22 #ifndef MM_UTILS_XEEN_FONT_H 23 #define MM_UTILS_XEEN_FONT_H 25 #include "common/array.h" 26 #include "common/rect.h" 27 #include "graphics/font.h" 28 #include "graphics/managed_surface.h" 40 static byte _colors[4];
41 static byte _colorsSet[40][4];
56 size_t charsOffset,
size_t charWidthsOffset);
Definition: managed_surface.h:51
int getStringWidth(const Common::String &str) const
void load(Common::SeekableReadStream *src, size_t charsOffset, size_t charWidthsOffset)
virtual void drawChar(Surface *dst, uint32 chr, int x, int y, uint32 color) const =0
Definition: detection.h:27
static void setColors(uint index)
int getFontHeight() const override
Definition: xeen_font.h:61
void drawChar(Graphics::Surface *dst, uint32 chr, int x, int y, uint32 color) const override
int getMaxCharWidth() const override
Definition: xeen_font.h:66
int getCharWidth(uint32 chr) const override
Definition: xeen_font.h:35