diff options
author | Martin Kiewitz | 2010-07-30 16:55:36 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-30 16:55:36 +0000 |
commit | 839ba339ed58d66b7cb6f1fd69b0a85294f6f51f (patch) | |
tree | 606eb319b0326035923eeecd356906962387cb6d /engines/sci/graphics/text16.h | |
parent | 6aa228ccd8343b865f1ace5f0d404ee4714df5ed (diff) | |
download | scummvm-rg350-839ba339ed58d66b7cb6f1fd69b0a85294f6f51f.tar.gz scummvm-rg350-839ba339ed58d66b7cb6f1fd69b0a85294f6f51f.tar.bz2 scummvm-rg350-839ba339ed58d66b7cb6f1fd69b0a85294f6f51f.zip |
SCI: finally fixing font codes
fixing regressions of r51511&51512 and cleaning up as well - for sq5
svn-id: r51513
Diffstat (limited to 'engines/sci/graphics/text16.h')
-rw-r--r-- | engines/sci/graphics/text16.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/text16.h b/engines/sci/graphics/text16.h index 71b602d116..9b8b6d9f19 100644 --- a/engines/sci/graphics/text16.h +++ b/engines/sci/graphics/text16.h @@ -53,7 +53,7 @@ public: void ClearChar(int16 chr); int16 GetLongest(const char *text, int16 maxWidth, GuiResourceId orgFontId); - void Width(const char *text, int16 from, int16 len, GuiResourceId orgFontId, int16 &textWidth, int16 &textHeight); + void Width(const char *text, int16 from, int16 len, GuiResourceId orgFontId, int16 &textWidth, int16 &textHeight, bool restoreFont); void StringWidth(const char *str, GuiResourceId orgFontId, int16 &textWidth, int16 &textHeight); void ShowString(const char *str, GuiResourceId orgFontId, int16 orgPenColor); void DrawString(const char *str, GuiResourceId orgFontId, int16 orgPenColor); |