aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_quit.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-26 17:20:33 -0400
committerPaul Gilbert2016-07-15 19:25:14 -0400
commitbe9a05f8b54e77a04c92aa766233bb8908b50c92 (patch)
tree570e56dd1718ad42bb173f6d32a924218a2c77e8 /engines/titanic/pet_control/pet_quit.h
parentad873455cf29622e52c15ac48e608d385a744be2 (diff)
downloadscummvm-rg350-be9a05f8b54e77a04c92aa766233bb8908b50c92.tar.gz
scummvm-rg350-be9a05f8b54e77a04c92aa766233bb8908b50c92.tar.bz2
scummvm-rg350-be9a05f8b54e77a04c92aa766233bb8908b50c92.zip
TITANIC: Added CPetStarfield methods
Diffstat (limited to 'engines/titanic/pet_control/pet_quit.h')
-rw-r--r--engines/titanic/pet_control/pet_quit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_quit.h b/engines/titanic/pet_control/pet_quit.h
index 7d22690ff8..87d8aefbbf 100644
--- a/engines/titanic/pet_control/pet_quit.h
+++ b/engines/titanic/pet_control/pet_quit.h
@@ -63,6 +63,11 @@ public:
* Returns the tooltip text for when the glyph is selected
*/
virtual void getTooltip(CPetText *text);
+
+ /**
+ * Get a reference to the tooltip text associated with the section
+ */
+ virtual CPetText *getText() { return &_text; }
};
} // End of namespace Titanic