aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_text.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-28 19:43:55 -0400
committerPaul Gilbert2016-07-10 16:22:34 -0400
commitde7329619612514e8fd3e9ba1f3e6d7389fd199d (patch)
tree0c99572f4106b572859e73df502b8f2fcacf0e2a /engines/titanic/pet_control/pet_text.h
parentb7ad513b0f0c99bc670546dbb3483e93d59652ee (diff)
downloadscummvm-rg350-de7329619612514e8fd3e9ba1f3e6d7389fd199d.tar.gz
scummvm-rg350-de7329619612514e8fd3e9ba1f3e6d7389fd199d.tar.bz2
scummvm-rg350-de7329619612514e8fd3e9ba1f3e6d7389fd199d.zip
TITANIC: Implement PET Text scrollToBottom, beginnings of addLine
Diffstat (limited to 'engines/titanic/pet_control/pet_text.h')
-rw-r--r--engines/titanic/pet_control/pet_text.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_text.h b/engines/titanic/pet_control/pet_text.h
index 36d098f141..6000dd6d0b 100644
--- a/engines/titanic/pet_control/pet_text.h
+++ b/engines/titanic/pet_control/pet_text.h
@@ -177,6 +177,21 @@ public:
* Scroll the text down
*/
void scrollDown(CScreenManager *screenManager);
+
+ /**
+ * Scroll to the bottom of the text
+ */
+ void scrollToBottom(CScreenManager *screenManager);
+
+ /**
+ * Add a line to the text
+ */
+ void addLine(const CString &str, uint color);
+
+ /**
+ * Add a line to the text
+ */
+ void addLine(const CString &str, byte r, byte g, byte b);
};
} // End of namespace Titanic