21 #ifndef PELROCK_SMALLFONT_H 22 #define PELROCK_SMALLFONT_H 24 #include "common/file.h" 25 #include "common/str.h" 26 #include "graphics/font.h" 27 #include "graphics/surface.h" 31 static const int kNumChars = 256;
50 static const int SMALL_FONT_CHAR_WIDTH = 8;
51 static const int SMALL_FONT_CHAR_HEIGHT = 8;
void drawChar(Graphics::Surface *dst, uint32 chr, int x, int y, uint32 color) const override
int getFontHeight() const override
Definition: small_font.h:41
int getMaxCharWidth() const override
Definition: small_font.h:42
Definition: small_font.h:33
int getCharWidth(uint32 chr) const override