diff options
Diffstat (limited to 'graphics/macgui/mactext.h')
-rw-r--r-- | graphics/macgui/mactext.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/macgui/mactext.h b/graphics/macgui/mactext.h index 6f49133d57..cf975849b7 100644 --- a/graphics/macgui/mactext.h +++ b/graphics/macgui/mactext.h @@ -24,12 +24,13 @@ #define GRAPHICS_MACGUI_MACTEXT_H #include "graphics/fontman.h" +#include "graphics/managed_surface.h" namespace Graphics { class MacText { public: - MacText(Common::String s, Graphics::Font *font, int maxWidth = -1); + MacText(Common::String s, Graphics::Font *font, int fgcolor, int bgcolor, int maxWidth = -1); void setInterLinear(int interLinear) { _interLinear = interLinear; } @@ -41,6 +42,8 @@ private: private: Common::String _str; Graphics::Font *_font; + int _fgcolor, _bgcolor; + int _maxWidth; int _interLinear; @@ -48,6 +51,9 @@ private: Common::Array<int> _widths; int _textMaxWidth; + + Graphics::ManagedSurface _surface; + bool _fullRefresh; }; } // End of namespace Graphics |