aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_glyphs.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-23 23:30:17 -0400
committerPaul Gilbert2016-07-10 16:11:57 -0400
commit4180e85bc0da500c347a3c5076ec7e6921e8daff (patch)
tree4a690e74f1d04daf5a6a811fe79f691b11ff8014 /engines/titanic/pet_control/pet_glyphs.h
parent73258800cf10f94cee5a9745649f8c5dbb67109c (diff)
downloadscummvm-rg350-4180e85bc0da500c347a3c5076ec7e6921e8daff.tar.gz
scummvm-rg350-4180e85bc0da500c347a3c5076ec7e6921e8daff.tar.bz2
scummvm-rg350-4180e85bc0da500c347a3c5076ec7e6921e8daff.zip
TITANIC: Beginnings of PET Rooms glyph
Diffstat (limited to 'engines/titanic/pet_control/pet_glyphs.h')
-rw-r--r--engines/titanic/pet_control/pet_glyphs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_glyphs.h b/engines/titanic/pet_control/pet_glyphs.h
index 883c7992a3..9216a42c74 100644
--- a/engines/titanic/pet_control/pet_glyphs.h
+++ b/engines/titanic/pet_control/pet_glyphs.h
@@ -74,6 +74,11 @@ public:
void translateBack(const Point &pt) { _element.translate(-pt.x, -pt.y); }
/**
+ * Get the parent RealLife area
+ */
+ CPetGlyphs *getOwner() { return _owner; }
+
+ /**
* Get the PET control
*/
CPetControl *getPetControl() const;
@@ -106,7 +111,7 @@ public:
/**
* Draw the glyph at a specified position
*/
- virtual void drawAt(CScreenManager *screenManager, const Point &pt);
+ virtual void drawAt(CScreenManager *screenManager, const Point &pt, bool isHighlighted);
/**
* Handles any secondary drawing of the glyph