aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/font.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-26 22:18:21 -0400
committerPaul Gilbert2016-07-10 16:12:05 -0400
commit34c32e38e2659406e3556f752fcada8491860e92 (patch)
treec9f2e355504d97376cf8437133415a7f0a606dc6 /engines/titanic/support/font.h
parentb114c768cd592462794d4fa2a397473cf146656c (diff)
downloadscummvm-rg350-34c32e38e2659406e3556f752fcada8491860e92.tar.gz
scummvm-rg350-34c32e38e2659406e3556f752fcada8491860e92.tar.bz2
scummvm-rg350-34c32e38e2659406e3556f752fcada8491860e92.zip
TITANIC: More font logic, beginnings of text cursor
Diffstat (limited to 'engines/titanic/support/font.h')
-rw-r--r--engines/titanic/support/font.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/titanic/support/font.h b/engines/titanic/support/font.h
index 087680e933..f2d7c471d9 100644
--- a/engines/titanic/support/font.h
+++ b/engines/titanic/support/font.h
@@ -27,6 +27,7 @@
#include "common/array.h"
#include "titanic/support/rect.h"
#include "titanic/support/string.h"
+#include "titanic/support/text_cursor.h"
namespace Titanic {
@@ -51,7 +52,7 @@ private:
* Write a character
*/
int writeChar(CVideoSurface *surface, unsigned char c,
- const Common::Point &pt, Rect *destRect, Rect *srcRect);
+ const Common::Point &pt, const Rect &destRect, const Rect *srcRect);
/**
* Extends a passed text area by the space required for
@@ -87,7 +88,8 @@ public:
/**
* Write a string to the specified surface
*/
- int writeString(CVideoSurface *surface, const Point &pt, const CString &str);
+ int writeString(CVideoSurface *surface, const Rect &rect1, const Rect &destRect,
+ int val1, const CString &str, CTextCursor *textCursor);
/**
* Get the text area a string will fit into