From eaff9344a457d14a90175d8fe613d0cd952290f9 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 9 Jul 2006 09:40:44 +0000 Subject: Added OSystem::setFocusRectangle (first part of Nintendo DS patch) svn-id: r23449 --- engines/queen/display.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/queen/display.h') diff --git a/engines/queen/display.h b/engines/queen/display.h index 6b8ea26011..8f81f11791 100644 --- a/engines/queen/display.h +++ b/engines/queen/display.h @@ -28,6 +28,9 @@ #include "queen/defs.h" class OSystem; +namespace Common { + struct Rect; +} namespace Queen { @@ -148,6 +151,9 @@ public: //! change the text color for the specified texts list entry void textColor(uint16 y, uint8 color) { _texts[y].color = color; } + + //! Set the focus rectangle to the speaking character + void setFocusRect(const Common::Rect& rect); int textCenterX(const char *text) const; uint16 textWidth(const char *text) const; -- cgit v1.2.3