aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/macgui/mactextwindow.cpp7
-rw-r--r--graphics/macgui/mactextwindow.h2
2 files changed, 0 insertions, 9 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp
index cc7bd268c7..0da37523e4 100644
--- a/graphics/macgui/mactextwindow.cpp
+++ b/graphics/macgui/mactextwindow.cpp
@@ -100,13 +100,6 @@ void MacTextWindow::clearText() {
updateCursorPos();
}
-void MacTextWindow::setSelection(int selStartX, int selStartY, int selEndX, int selEndY) {
- _selectedText.startX = selStartX;
- _selectedText.startY = selStartY;
- _selectedText.endX = selEndX;
- _selectedText.endY = selEndY;
-}
-
MacTextWindow::~MacTextWindow() {
delete _cursorSurface;
diff --git a/graphics/macgui/mactextwindow.h b/graphics/macgui/mactextwindow.h
index eb3f270ed5..d1ee3c1b2e 100644
--- a/graphics/macgui/mactextwindow.h
+++ b/graphics/macgui/mactextwindow.h
@@ -59,8 +59,6 @@ public:
void appendText(Common::String str, const MacFont *macFont, bool skipAdd = false);
void clearText();
- void setSelection(int selStartX, int selStartY, int selEndX, int selEndY);
-
void undrawCursor();
const Common::String getInput() { return _inputText; }