aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_text.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-24 22:22:12 -0400
committerPaul Gilbert2016-07-10 16:12:01 -0400
commit36faf0890fec6bab90531ade42c0eb924b31b64a (patch)
treec63a8d8ceb9da3827d4edaf49eaf36e7a93b96d9 /engines/titanic/pet_control/pet_text.h
parentc75de59a28c94e364a38af39057af720ba8465d4 (diff)
downloadscummvm-rg350-36faf0890fec6bab90531ade42c0eb924b31b64a.tar.gz
scummvm-rg350-36faf0890fec6bab90531ade42c0eb924b31b64a.tar.bz2
scummvm-rg350-36faf0890fec6bab90531ade42c0eb924b31b64a.zip
TITANIC: Minor work towards text display
Diffstat (limited to 'engines/titanic/pet_control/pet_text.h')
-rw-r--r--engines/titanic/pet_control/pet_text.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_text.h b/engines/titanic/pet_control/pet_text.h
index 9fd057a652..24c4e949b6 100644
--- a/engines/titanic/pet_control/pet_text.h
+++ b/engines/titanic/pet_control/pet_text.h
@@ -78,7 +78,10 @@ private:
void updateStr3(int lineNum);
- void draw2(CScreenManager *screenManager);
+ /**
+ * Get the required height to draw the text
+ */
+ int getTextHeight(CScreenManager *screenManager);
public:
CPetText(uint count = 10);