28 #ifndef WINTERMUTE_BASE_FONTBITMAP_H 29 #define WINTERMUTE_BASE_FONTBITMAP_H 32 #include "engines/wintermute/base/font/base_font.h" 39 bool loadBuffer(
char *buffer);
41 int getTextWidth(
const byte *text,
int maxLength = -1)
override;
42 int getTextHeight(
const byte *text,
int width)
override;
43 void drawText(
const byte *text,
int x,
int y,
int width, TTextAlign align = TAL_LEFT,
int max_height = -1,
int maxLength = -1)
override;
44 int getLetterHeight()
override;
57 byte _widths[NUM_CHARACTERS];
61 int getCharWidth(byte index);
62 void drawChar(byte c,
int x,
int y);
64 int textHeightDraw(
const byte *text,
int x,
int y,
int width, TTextAlign align,
bool draw,
int max_height = -1,
int maxLength = -1);
Definition: base_game.h:76
Definition: base_sub_frame.h:39
Definition: base_font.h:37
Definition: base_font_bitmap.h:36
Definition: base_sprite.h:40
Definition: achievements_tables.h:27