diff options
author | Paul Gilbert | 2016-04-24 22:22:12 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:12:01 -0400 |
commit | 36faf0890fec6bab90531ade42c0eb924b31b64a (patch) | |
tree | c63a8d8ceb9da3827d4edaf49eaf36e7a93b96d9 /engines/titanic/support/font.h | |
parent | c75de59a28c94e364a38af39057af720ba8465d4 (diff) | |
download | scummvm-rg350-36faf0890fec6bab90531ade42c0eb924b31b64a.tar.gz scummvm-rg350-36faf0890fec6bab90531ade42c0eb924b31b64a.tar.bz2 scummvm-rg350-36faf0890fec6bab90531ade42c0eb924b31b64a.zip |
TITANIC: Minor work towards text display
Diffstat (limited to 'engines/titanic/support/font.h')
-rw-r--r-- | engines/titanic/support/font.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/support/font.h b/engines/titanic/support/font.h index e1c63e6544..4bb1b2e6d6 100644 --- a/engines/titanic/support/font.h +++ b/engines/titanic/support/font.h @@ -83,6 +83,11 @@ public: int stringWidth(const CString &text) const; /** + * Write a string to the specified surface + */ + int writeString(CVideoSurface *surface, const Point &pt, const CString &str); + + /** * Get the text area a string will fit into * @param str String * @param maxWidth Maximum width in pixels |