diff options
author | Eugene Sandulenko | 2017-01-31 09:52:51 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-31 18:46:33 +0100 |
commit | 95be2f2b2383f0f8835d1a21f6fbcf86fe5a1667 (patch) | |
tree | 79adf406f14898008f11eeeb764869eb2d4b3d65 /graphics/macgui/mactext.h | |
parent | afb6941a7ea8fbd8bbf0251ed9024975040e7884 (diff) | |
download | scummvm-rg350-95be2f2b2383f0f8835d1a21f6fbcf86fe5a1667.tar.gz scummvm-rg350-95be2f2b2383f0f8835d1a21f6fbcf86fe5a1667.tar.bz2 scummvm-rg350-95be2f2b2383f0f8835d1a21f6fbcf86fe5a1667.zip |
GRAPHICS: Overwhauling of MacText rich formatting
Diffstat (limited to 'graphics/macgui/mactext.h')
-rw-r--r-- | graphics/macgui/mactext.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/macgui/mactext.h b/graphics/macgui/mactext.h index 17c3b394bd..7234cdcdaf 100644 --- a/graphics/macgui/mactext.h +++ b/graphics/macgui/mactext.h @@ -32,6 +32,8 @@ namespace Graphics { class MacWindowManager; struct MacFontRun { + Common::String text; + uint16 fontId; byte textSlant; byte unk3f; @@ -110,7 +112,7 @@ private: TextAlign _textAlignment; - Common::Array< Common::Array<MacFontRun> > _formatting; + Common::Array< Common::Array<MacFontRun> > _textLines; MacFontRun _defaultFormatting; MacFontRun _currentFormatting; }; |