aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-02 21:01:35 +0200
committerEugene Sandulenko2017-08-04 21:54:19 +0200
commitb6970ade92a3b92188404b308fa6e839f3063286 (patch)
tree213610e603e69a6dcd430aae96425517fd25d4d3
parent47d87e059d09d15cc065eddf8fb9662b542e7486 (diff)
downloadscummvm-rg350-b6970ade92a3b92188404b308fa6e839f3063286.tar.gz
scummvm-rg350-b6970ade92a3b92188404b308fa6e839f3063286.tar.bz2
scummvm-rg350-b6970ade92a3b92188404b308fa6e839f3063286.zip
GRAPHICS: MACGUI: Remove redundant method from MacTextWindow
-rw-r--r--graphics/macgui/mactextwindow.cpp4
-rw-r--r--graphics/macgui/mactextwindow.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp
index 52785adeb6..4d4d5a2a31 100644
--- a/graphics/macgui/mactextwindow.cpp
+++ b/graphics/macgui/mactextwindow.cpp
@@ -69,10 +69,6 @@ MacTextWindow::MacTextWindow(MacWindowManager *wm, const MacFont *font, int fgco
g_system->getTimerManager()->installTimerProc(&cursorTimerHandler, 200000, this, "textWindowCursor");
}
-void MacTextWindow::drawText(ManagedSurface *g, int x, int y, int w, int h, int xoff, int yoff) {
- _mactext->draw(g, x, y, w, h, xoff, yoff);
-}
-
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 5ed507b07b..fecfeb57be 100644
--- a/graphics/macgui/mactextwindow.h
+++ b/graphics/macgui/mactextwindow.h
@@ -63,7 +63,6 @@ public:
void setTextWindowFont(const MacFont *macFont);
const MacFont *getTextWindowFont();
- void drawText(ManagedSurface *g, int x, int y, int w, int h, int xoff, int yoff);
void appendText(Common::String str, const MacFont *macFont);
void clearText();