aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/font.h
diff options
context:
space:
mode:
authorAlyssa Milburn2012-08-25 00:21:58 +0200
committerAlyssa Milburn2012-08-25 08:41:22 +0200
commitb77306bfcc26d17b1fca71360d1fcbd2ebdbe0ee (patch)
tree887fee6c62b5af94fd9064ffced783313f9150f9 /engines/tony/font.h
parentff9569572a3587b96b849fe4ef572ed91c7e6f5d (diff)
downloadscummvm-rg350-b77306bfcc26d17b1fca71360d1fcbd2ebdbe0ee.tar.gz
scummvm-rg350-b77306bfcc26d17b1fca71360d1fcbd2ebdbe0ee.tar.bz2
scummvm-rg350-b77306bfcc26d17b1fca71360d1fcbd2ebdbe0ee.zip
TONY: Convert more strings to Common::String.
Diffstat (limited to 'engines/tony/font.h')
-rw-r--r--engines/tony/font.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/tony/font.h b/engines/tony/font.h
index e6543ef5d7..97434b9770 100644
--- a/engines/tony/font.h
+++ b/engines/tony/font.h
@@ -100,7 +100,7 @@ public:
RMGfxPrimitive *makeLetterPrimitive(byte bChar, int &nLength);
// Length in pixels of a string with the current font
- int stringLen(const RMString &text);
+ int stringLen(const Common::String &text);
int stringLen(char bChar, char bNext = 0);
};
@@ -256,8 +256,8 @@ public:
virtual ~RMTextDialog();
// Write the text
- void writeText(const RMString &text, int font, int *time = NULL);
- void writeText(const RMString &text, RMFontColor *font, int *time = NULL);
+ void writeText(const Common::String &text, int font, int *time = NULL);
+ void writeText(const Common::String &text, RMFontColor *font, int *time = NULL);
// Overloaded function to decide when you delete the object from the OT list
virtual void removeThis(CORO_PARAM, bool &result);
@@ -376,7 +376,7 @@ public:
void setNumChoices(int num);
// Adds a string with the choice
- void addChoice(const RMString &string);
+ void addChoice(const Common::String &string);
// Show and hide the selection, with possible animations.
// NOTE: If no parameter is passed to Show(), it is the obligation of