aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_text.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-27 23:48:13 -0400
committerPaul Gilbert2016-07-15 19:25:41 -0400
commit0715be79269a0830136f76e78da2e893ce2e2ed4 (patch)
tree03e6aab25e84b9792437d65caf9d072af506768b /engines/titanic/pet_control/pet_text.h
parent4db07ba145f75cdcf65a88b136790abc891b2745 (diff)
downloadscummvm-rg350-0715be79269a0830136f76e78da2e893ce2e2ed4.tar.gz
scummvm-rg350-0715be79269a0830136f76e78da2e893ce2e2ed4.tar.bz2
scummvm-rg350-0715be79269a0830136f76e78da2e893ce2e2ed4.zip
TITANIC: Added CGameObject text methods
Diffstat (limited to 'engines/titanic/pet_control/pet_text.h')
-rw-r--r--engines/titanic/pet_control/pet_text.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/engines/titanic/pet_control/pet_text.h b/engines/titanic/pet_control/pet_text.h
index 930bf3da8b..2a6e24ddb8 100644
--- a/engines/titanic/pet_control/pet_text.h
+++ b/engines/titanic/pet_control/pet_text.h
@@ -79,11 +79,6 @@ private:
void updateStr3(int lineNum);
/**
- * Get the required height to draw the text
- */
- int getTextHeight(CScreenManager *screenManager);
-
- /**
* Ensures the Y scrolling for the text is in the valid range
*/
void constrainScrollUp(CScreenManager *screenManager);
@@ -253,6 +248,21 @@ public:
* first list with the entry at the same index in the dest list
*/
void remapColors(uint count, uint *srcColors, uint *destColors);
+
+ /**
+ * Set the font number to use
+ */
+ void setFontNumber(int fontNumber);
+
+ /**
+ * Get the width of the text
+ */
+ int getTextWidth(CScreenManager *screenManager);
+
+ /**
+ * Get the required height to draw the text
+ */
+ int getTextHeight(CScreenManager *screenManager);
};
} // End of namespace Titanic