#include <text16.h>
Public Member Functions | |
| GfxText16 (GfxCache *fonts, GfxPorts *ports, GfxPaint16 *paint16, GfxScreen *screen, GfxMacFontManager *macFontManager) | |
| GuiResourceId | GetFontId () |
| GfxFont * | GetFont () |
| void | SetFont (GuiResourceId fontId) |
| int16 | CodeProcessing (const char *&text, GuiResourceId orgFontId, int16 orgPenColor, bool doingDrawing) |
| int16 | GetLongest (const char *&text, int16 maxWidth, GuiResourceId orgFontId) |
| void | Width (const char *text, int16 from, int16 len, GuiResourceId orgFontId, int16 &textWidth, int16 &textHeight, bool restoreFont) |
| void | StringWidth (const Common::String &str, GuiResourceId orgFontId, int16 &textWidth, int16 &textHeight) |
| void | DrawString (const Common::String &str, GuiResourceId orgFontId, int16 orgPenColor) |
| int16 | Size (Common::Rect &rect, const char *text, uint16 textLanguage, GuiResourceId fontId, int16 maxWidth) |
| void | Draw (const char *text, int16 from, int16 len, GuiResourceId orgFontId, int16 orgPenColor) |
| void | Show (const char *text, int16 from, int16 len, GuiResourceId orgFontId, int16 orgPenColor) |
| void | Box (const char *text, uint16 languageSplitter, bool show, const Common::Rect &rect, TextAlignment alignment, GuiResourceId fontId) |
| void | Box (const char *text, bool show, const Common::Rect &rect, TextAlignment alignment, GuiResourceId fontId) |
| void | DrawString (const Common::String &str) |
| void | DrawStatus (const Common::String &str) |
| reg_t | allocAndFillReferenceRectArray () |
| void | kernelTextSize (const char *text, uint16 textLanguage, int16 font, int16 maxWidth, int16 *textWidth, int16 *textHeight) |
| void | kernelTextFonts (int argc, reg_t *argv) |
| void | kernelTextColors (int argc, reg_t *argv) |
| void | macTextSize (const Common::String &text, GuiResourceId sciFontId, GuiResourceId origSciFontId, int16 maxWidth, int16 *textWidth, int16 *textHeight) |
| void | macDraw (const Common::String &text, Common::Rect rect, TextAlignment alignment, GuiResourceId sciFontId, GuiResourceId origSciFontId, int16 color) |
Public Attributes | |
| GfxFont * | _font |
Text16 class, handles text calculation and displaying of text for SCI0->SCI1.1 games