aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.h
diff options
context:
space:
mode:
authorMax Horn2003-11-04 22:00:36 +0000
committerMax Horn2003-11-04 22:00:36 +0000
commitee253d4c9075667de1c4977894d6dfef9c2d9a13 (patch)
tree466707e69627ef77da99c4565bb4ce65e7614dcc /gui/newgui.h
parent597ddcfa1706d2d3fcec898c42d258ab2dc087e4 (diff)
downloadscummvm-rg350-ee253d4c9075667de1c4977894d6dfef9c2d9a13.tar.gz
scummvm-rg350-ee253d4c9075667de1c4977894d6dfef9c2d9a13.tar.bz2
scummvm-rg350-ee253d4c9075667de1c4977894d6dfef9c2d9a13.zip
modified NewGui::drawString to shorten strings which don't fit using ellipsis (disabled for the EditTextWidget for now)
svn-id: r11136
Diffstat (limited to 'gui/newgui.h')
-rw-r--r--gui/newgui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/newgui.h b/gui/newgui.h
index ac0c454df0..09ccd612b2 100644
--- a/gui/newgui.h
+++ b/gui/newgui.h
@@ -137,7 +137,7 @@ public:
void drawChar(byte c, int x, int y, NewGuiColor color);
int getStringWidth(const String &str);
int getCharWidth(byte c);
- void drawString(const String &str, int x, int y, int w, NewGuiColor color, int align = kTextAlignLeft, int deltax = 0);
+ void drawString(const String &str, int x, int y, int w, NewGuiColor color, int align = kTextAlignLeft, int deltax = 0, bool useEllipsis = true);
void blitFromBuffer(int x, int y, int w, int h, const byte *buf, int pitch);
void blitToBuffer(int x, int y, int w, int h, byte *buf, int pitch);