aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEugene Sandulenko2017-07-31 20:51:02 +0200
committerEugene Sandulenko2017-08-01 10:42:22 +0200
commita5c99c99f56307be77722d778c3c014a5845ac4a (patch)
tree76a21c764955c7805d2f1298d6acc11ea5ae6402 /graphics
parent8319e4093fe204743736ae7bac28f810b9034533 (diff)
downloadscummvm-rg350-a5c99c99f56307be77722d778c3c014a5845ac4a.tar.gz
scummvm-rg350-a5c99c99f56307be77722d778c3c014a5845ac4a.tar.bz2
scummvm-rg350-a5c99c99f56307be77722d778c3c014a5845ac4a.zip
GRAPHICS: MACGUI: Remove redundant method from MacTextWindow
Diffstat (limited to 'graphics')
-rw-r--r--graphics/macgui/mactextwindow.cpp6
-rw-r--r--graphics/macgui/mactextwindow.h1
2 files changed, 0 insertions, 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();