diff options
author | Eugene Sandulenko | 2017-08-02 21:08:46 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-04 21:54:19 +0200 |
commit | 8609572b879e526d94a3331cebce3322754f81be (patch) | |
tree | 9f9848ea5d248b42e9daa13c3f452a0693b72df9 /graphics/macgui/mactext.cpp | |
parent | b6970ade92a3b92188404b308fa6e839f3063286 (diff) | |
download | scummvm-rg350-8609572b879e526d94a3331cebce3322754f81be.tar.gz scummvm-rg350-8609572b879e526d94a3331cebce3322754f81be.tar.bz2 scummvm-rg350-8609572b879e526d94a3331cebce3322754f81be.zip |
GRAPHICS: MACGUI: Correctly set MacTextWindow internal MacText size
Diffstat (limited to 'graphics/macgui/mactext.cpp')
-rw-r--r-- | graphics/macgui/mactext.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp index 076322636b..20437021cc 100644 --- a/graphics/macgui/mactext.cpp +++ b/graphics/macgui/mactext.cpp @@ -82,6 +82,10 @@ MacText::MacText(Common::String s, MacWindowManager *wm, const MacFont *macFont, _fullRefresh = true; } +void MacText::setMaxWidth(int maxWidth) { + _maxWidth = maxWidth; +} + void MacText::splitString(Common::String &str) { const char *s = str.c_str(); |