aboutsummaryrefslogtreecommitdiff
path: root/engines/queen/display.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/queen/display.cpp')
-rw-r--r--engines/queen/display.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/queen/display.cpp b/engines/queen/display.cpp
index 237c42e86e..5f57922817 100644
--- a/engines/queen/display.cpp
+++ b/engines/queen/display.cpp
@@ -851,6 +851,10 @@ void Display::clearTexts(uint16 y1, uint16 y2) {
}
}
+void Display::setFocusRect(const Common::Rect& rect) {
+ _system->setFocusRectangle(rect);
+}
+
int Display::textCenterX(const char *text) const {
return (GAME_SCREEN_WIDTH - textWidth(text)) / 2;
}