21 #ifndef FREESCAPE_FONT_H 22 #define FREESCAPE_FONT_H 24 #include "common/array.h" 25 #include "common/stream.h" 27 #include "graphics/font.h" 28 #include "graphics/managed_surface.h" 38 void setBackground(uint32 color);
39 void setSecondaryColor(uint32 color);
40 void setTertiaryColor(uint32 color);
41 void setQuaternaryColor(uint32 color);
45 int getKerningOffset(uint32 left, uint32 right)
const override {
return _kerningOffset; }
46 void setKernelingOffset(
int offset) { _kerningOffset = offset; }
47 void setCharWidth(
int width) { _charWidth = width; }
54 uint32 _backgroundColor;
55 uint32 _secondaryColor;
56 uint32 _tertiaryColor;
57 uint32 _quaternaryColor;
64 #endif // FREESCAPE_FONT_H int getKerningOffset(uint32 left, uint32 right) const override
Definition: font.h:45
int getFontHeight() const override
void drawChar(Graphics::Surface *dst, uint32 chr, int x, int y, uint32 color) const override
int getCharWidth(uint32 chr) const override
int getMaxCharWidth() const override