28 #ifndef WINTERMUTE_BASE_FONT_H 29 #define WINTERMUTE_BASE_FONT_H 31 #include "engines/wintermute/base/base_object.h" 33 #define NUM_CHARACTERS 256 40 virtual int getTextWidth(
const byte *text,
int maxLength = -1);
41 virtual int getTextHeight(
const byte *text,
int width);
42 virtual void drawText(
const byte *text,
int x,
int y,
int width, TTextAlign align = TAL_LEFT,
int max_height = -1,
int maxLength = -1);
43 virtual int getLetterHeight();
45 virtual void initLoop() {}
46 virtual void afterLoad() {}
Definition: base_game.h:76
Definition: base_font.h:37
Definition: base_object.h:49
Definition: achievements_tables.h:27