From a5c99c99f56307be77722d778c3c014a5845ac4a Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 31 Jul 2017 20:51:02 +0200 Subject: GRAPHICS: MACGUI: Remove redundant method from MacTextWindow --- graphics/macgui/mactextwindow.cpp | 6 ------ graphics/macgui/mactextwindow.h | 1 - 2 files changed, 7 deletions(-) diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp index fb2b167de6..e238c50af8 100644 --- a/graphics/macgui/mactextwindow.cpp +++ b/graphics/macgui/mactextwindow.cpp @@ -71,12 +71,6 @@ void MacTextWindow::drawText(ManagedSurface *g, int x, int y, int w, int h, int _mactext->draw(g, x, y, w, h, xoff, yoff); } -void MacTextWindow::appendText(Common::String str, int id, int size, int slant) { - _mactext->appendText(str, id, size, slant); - - updateCursorPos(); -} - void MacTextWindow::appendText(Common::String str, const MacFont *macFont) { _mactext->appendText(str, macFont->getId(), macFont->getSize(), macFont->getSlant()); diff --git a/graphics/macgui/mactextwindow.h b/graphics/macgui/mactextwindow.h index 00bca8bdcc..db9b5a1cf9 100644 --- a/graphics/macgui/mactextwindow.h +++ b/graphics/macgui/mactextwindow.h @@ -64,7 +64,6 @@ public: const MacFont *getTextWindowFont(); void drawText(ManagedSurface *g, int x, int y, int w, int h, int xoff, int yoff); - void appendText(Common::String str, int fontId = kMacFontChicago, int fontSize = 12, int fontSlant = kMacFontRegular); void appendText(Common::String str, const MacFont *macFont); void clearText(); -- cgit v1.2.3