diff options
author | Max Horn | 2006-07-09 09:40:44 +0000 |
---|---|---|
committer | Max Horn | 2006-07-09 09:40:44 +0000 |
commit | eaff9344a457d14a90175d8fe613d0cd952290f9 (patch) | |
tree | 6ee5944ab74184e1dbd26c8716e1c88b46278f42 /engines/queen/display.h | |
parent | b3f2d299fef43460f9297c28c37d2749fdd2712a (diff) | |
download | scummvm-rg350-eaff9344a457d14a90175d8fe613d0cd952290f9.tar.gz scummvm-rg350-eaff9344a457d14a90175d8fe613d0cd952290f9.tar.bz2 scummvm-rg350-eaff9344a457d14a90175d8fe613d0cd952290f9.zip |
Added OSystem::setFocusRectangle (first part of Nintendo DS patch)
svn-id: r23449
Diffstat (limited to 'engines/queen/display.h')
-rw-r--r-- | engines/queen/display.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; |