From 95be2f2b2383f0f8835d1a21f6fbcf86fe5a1667 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 31 Jan 2017 09:52:51 +0100 Subject: GRAPHICS: Overwhauling of MacText rich formatting --- graphics/macgui/mactext.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'graphics/macgui/mactext.h') 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 > _formatting; + Common::Array< Common::Array > _textLines; MacFontRun _defaultFormatting; MacFontRun _currentFormatting; }; -- cgit v1.2.3