aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_glyphs.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-18 22:52:11 -0400
committerPaul Gilbert2016-07-10 16:11:31 -0400
commit225af470883f7e8e90ea18faf6b26b29342accb9 (patch)
tree7c36d94ac930599c31f9634e347b6444a8063b8a /engines/titanic/pet_control/pet_glyphs.h
parent42206332d0d7474dfead288c643ef4980c739773 (diff)
downloadscummvm-rg350-225af470883f7e8e90ea18faf6b26b29342accb9.tar.gz
scummvm-rg350-225af470883f7e8e90ea18faf6b26b29342accb9.tar.bz2
scummvm-rg350-225af470883f7e8e90ea18faf6b26b29342accb9.zip
TITANIC: Beginnings of PET RealLife Quit button
Diffstat (limited to 'engines/titanic/pet_control/pet_glyphs.h')
-rw-r--r--engines/titanic/pet_control/pet_glyphs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_glyphs.h b/engines/titanic/pet_control/pet_glyphs.h
index c9962bdb2a..2360bfa13d 100644
--- a/engines/titanic/pet_control/pet_glyphs.h
+++ b/engines/titanic/pet_control/pet_glyphs.h
@@ -69,6 +69,16 @@ public:
void translateBack(const Point &pt) { _element.translate(-pt.x, -pt.y); }
/**
+ * Get the PET control
+ */
+ CPetControl *getPetControl() const;
+
+ /**
+ * Sets new name and default bounds for glyph
+ */
+ void setName(const CString &name, CPetControl *petControl);
+
+ /**
* Setup the glyph
*/
virtual void setup(CPetControl *petControl, CPetGlyphs *owner);
@@ -215,6 +225,11 @@ public:
* Get the owning section for the glyphs
*/
CPetSection *getOwner() const { return _owner; }
+
+ /**
+ * Get the PET control
+ */
+ CPetControl *getPetControl() const;
};
} // End of namespace Titanic