30 #include "cge/general.h" 31 #include "cge/vga13h.h" 35 #define kTextColFG kVgaColDark // foreground color 36 #define kTextColBG kVgaColGray // background color 37 #define kTextHMargin (6&~1) // EVEN horizontal margins! 38 #define kTextVMargin 5 // vertical margins 39 #define kTextLineSpace 2 // line spacing 40 #define kTextRoundCorner 3 // rounded corners 43 #define kMapSize (256*8) 45 #define kFontExt ".CFT" 47 enum TextBoxStyle { kTBPure, kTBRect, kTBRound };
53 Bitmap *box(uint16 w, uint16 h);
56 Talk(
CGEEngine *vm,
const char *text, TextBoxStyle mode,
bool wideSpace =
false);
59 void textToSpeech(
const char *text);
60 virtual void update(
const char *text);
69 void update(
const char *text)
override;