From f2e6b4615356d17205a1d4e04100f6de8676a194 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 18 Jun 2012 08:28:13 +0200 Subject: TONY: Rename RMFontDialog --- engines/tony/font.cpp | 8 +++----- engines/tony/font.h | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'engines') diff --git a/engines/tony/font.cpp b/engines/tony/font.cpp index c4a95d0493..efce8dbe6e 100644 --- a/engines/tony/font.cpp +++ b/engines/tony/font.cpp @@ -201,10 +201,10 @@ void RMFontColor::setBaseColor(byte r1, byte g1, byte b1) { } /***************************************************************************\ -* RMFontParla Methods +* RMFontDialog Methods \****************************************************************************/ -void RMFontParla::init() { +void RMFontDialog::init() { int i; // bernie: Number of characters in the font @@ -1801,11 +1801,10 @@ void RMText::removeThis(CORO_PARAM, bool &result) { result = true; } - void RMText::writeText(const RMString &text, int nFont, int *time) { // Initializes the font (only once) if (_fonts[0] == NULL) { - _fonts[0] = new RMFontParla; + _fonts[0] = new RMFontDialog; _fonts[0]->init(); _fonts[1] = new RMFontObj; _fonts[1]->init(); @@ -1818,7 +1817,6 @@ void RMText::writeText(const RMString &text, int nFont, int *time) { writeText(text, _fonts[nFont], time); } - void RMText::writeText(const RMString &text, RMFontColor *font, int *time) { RMGfxPrimitive *prim; char *p, *old_p; diff --git a/engines/tony/font.h b/engines/tony/font.h index 595cb726a6..9971e536ed 100644 --- a/engines/tony/font.h +++ b/engines/tony/font.h @@ -141,10 +141,10 @@ public: }; -class RMFontParla : public RMFontColor, public RMFontWithTables { +class RMFontDialog : public RMFontColor, public RMFontWithTables { public: void init(); - virtual ~RMFontParla() {} + virtual ~RMFontDialog() {} }; class RMFontObj : public RMFontColor, public RMFontWithTables { -- cgit v1.2.3