diff options
-rw-r--r-- | engines/zvision/render_manager.cpp | 2 | ||||
-rw-r--r-- | engines/zvision/truetype_font.cpp | 2 | ||||
-rw-r--r-- | engines/zvision/truetype_font.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp index 7f10535bb2..dc942fe3d0 100644 --- a/engines/zvision/render_manager.cpp +++ b/engines/zvision/render_manager.cpp @@ -367,7 +367,7 @@ Common::Rect RenderManager::renderTextToWorkingWindow(uint32 idNumber, const Com entry.destY = destY; // Draw the text to the working window - entry.data = font->drawTextToSurface(text, destX, destY, textColor, maxWidth, maxHeight, align, wrap); + entry.data = font->drawTextToSurface(text, textColor, maxWidth, maxHeight, align, wrap); entry.width = entry.data->w; entry.height = entry.data->h; diff --git a/engines/zvision/truetype_font.cpp b/engines/zvision/truetype_font.cpp index 8fd331df48..80d0d6bddb 100644 --- a/engines/zvision/truetype_font.cpp +++ b/engines/zvision/truetype_font.cpp @@ -72,7 +72,7 @@ bool TruetypeFont::loadFile(const Common::String &filename) { return true; } -Graphics::Surface *TruetypeFont::drawTextToSurface(const Common::String &text, int destX, int destY, uint16 textColor, int maxWidth, int maxHeight, Graphics::TextAlign align, bool wrap) { +Graphics::Surface *TruetypeFont::drawTextToSurface(const Common::String &text, uint16 textColor, int maxWidth, int maxHeight, Graphics::TextAlign align, bool wrap) { if (text.equals("")) { return nullptr; } diff --git a/engines/zvision/truetype_font.h b/engines/zvision/truetype_font.h index ae7732cba4..d35da878ee 100644 --- a/engines/zvision/truetype_font.h +++ b/engines/zvision/truetype_font.h @@ -56,7 +56,7 @@ public: public: bool loadFile(const Common::String &filename); - Graphics::Surface *drawTextToSurface(const Common::String &text, int destX, int destY, uint16 textColor, int maxWidth, int maxHeight, Graphics::TextAlign align, bool wrap); + Graphics::Surface *drawTextToSurface(const Common::String &text, uint16 textColor, int maxWidth, int maxHeight, Graphics::TextAlign align, bool wrap); }; } // End of namespace ZVision |