diff options
author | Tobia Tesan | 2017-04-30 00:14:23 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-04-30 09:48:08 +0200 |
commit | af664fe757b0834e011e93420911428b361c516e (patch) | |
tree | ffb2857ba31d5191bed3d181c2f859eacf3b9e29 /graphics/macgui/mactext.h | |
parent | d602850b0c3bd9e99d729da335ac3f068c5cd73a (diff) | |
download | scummvm-rg350-af664fe757b0834e011e93420911428b361c516e.tar.gz scummvm-rg350-af664fe757b0834e011e93420911428b361c516e.tar.bz2 scummvm-rg350-af664fe757b0834e011e93420911428b361c516e.zip |
GRAPHICS: Use MacFont in lieu of Graphics::Font in MacText
Diffstat (limited to 'graphics/macgui/mactext.h')
-rw-r--r-- | graphics/macgui/mactext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/macgui/mactext.h b/graphics/macgui/mactext.h index 85c855950f..c9d24a006d 100644 --- a/graphics/macgui/mactext.h +++ b/graphics/macgui/mactext.h @@ -88,7 +88,7 @@ struct MacTextLine { class MacText { public: - MacText(Common::String s, MacWindowManager *wm, const Graphics::Font *font, int fgcolor, int bgcolor, + MacText(Common::String s, MacWindowManager *wm, const MacFont *font, int fgcolor, int bgcolor, int maxWidth = -1, TextAlign textAlignment = kTextAlignLeft); void setInterLinear(int interLinear); @@ -113,7 +113,7 @@ private: MacWindowManager *_wm; Common::String _str; - const Graphics::Font *_font; + const MacFont *_macFont; int _fgcolor, _bgcolor; int _maxWidth; |