diff options
author | Torbjörn Andersson | 2005-05-20 15:03:26 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-05-20 15:03:26 +0000 |
commit | 801db4a5159728619d502ade157f81615ba93375 (patch) | |
tree | 0aa875e4e4df3fa17bf0f8553ef3ad9d0841af0b /gui/newgui.cpp | |
parent | 5eaedacce643c6a2e5a77d39fa61b8b4c67566b6 (diff) | |
download | scummvm-rg350-801db4a5159728619d502ade157f81615ba93375.tar.gz scummvm-rg350-801db4a5159728619d502ade157f81615ba93375.tar.bz2 scummvm-rg350-801db4a5159728619d502ade157f81615ba93375.zip |
Added big editable text widget, and removed some cruft. I think this means
that all our widgets are able to scale themselves now, but I could be
mistaken.
svn-id: r18192
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r-- | gui/newgui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index d9a6330b90..94bc581511 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -466,8 +466,8 @@ void NewGui::drawString(const String &s, int x, int y, int w, OverlayColor color getFont().drawString(&_screen, s, x * _scaleFactor, y * _scaleFactor, w * _scaleFactor, color, align, deltax, useEllipsis); } -void NewGui::drawString(const Graphics::Font *font, const String &s, int x, int y, int w, OverlayColor color, TextAlignment valign) { - font->drawString(&_screen, s, x * _scaleFactor, y * _scaleFactor, w * _scaleFactor, color, valign); +void NewGui::drawString(const Graphics::Font *font, const String &s, int x, int y, int w, OverlayColor color, TextAlignment align, int deltax, bool useEllipsis) { + font->drawString(&_screen, s, x * _scaleFactor, y * _scaleFactor, w * _scaleFactor, color, align, deltax, useEllipsis); } // |