aboutsummaryrefslogtreecommitdiff
path: root/engines/queen/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/queen/display.h')
-rw-r--r--engines/queen/display.h6
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;