aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/text16.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/graphics/text16.h')
-rw-r--r--engines/sci/graphics/text16.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sci/graphics/text16.h b/engines/sci/graphics/text16.h
index eb39fb2513..cb3deb0c60 100644
--- a/engines/sci/graphics/text16.h
+++ b/engines/sci/graphics/text16.h
@@ -53,9 +53,9 @@ public:
int16 GetLongest(const char *&text, int16 maxWidth, GuiResourceId orgFontId);
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);
+ void StringWidth(const Common::String &str, GuiResourceId orgFontId, int16 &textWidth, int16 &textHeight);
+ void ShowString(const Common::String &str, GuiResourceId orgFontId, int16 orgPenColor);
+ void DrawString(const Common::String &str, GuiResourceId orgFontId, int16 orgPenColor);
int16 Size(Common::Rect &rect, const char *text, uint16 textLanguage, GuiResourceId fontId, int16 maxWidth);
void Draw(const char *text, int16 from, int16 len, GuiResourceId orgFontId, int16 orgPenColor);
void Show(const char *text, int16 from, int16 len, GuiResourceId orgFontId, int16 orgPenColor);
@@ -65,8 +65,8 @@ public:
Box(text, 0, show, rect, alignment, fontId);
}
- void DrawString(const char *text);
- void DrawStatus(const char *text);
+ void DrawString(const Common::String &str);
+ void DrawStatus(const Common::String &str);
GfxFont *_font;