diff options
author | Paul Gilbert | 2016-04-24 08:15:51 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:11:58 -0400 |
commit | af06188baedf10247893c6f964462c74eac5f446 (patch) | |
tree | c4d2ef57fce6e3bd13db1d584c7f6df24f8db4cc /engines/titanic/pet_control/pet_glyphs.h | |
parent | 4180e85bc0da500c347a3c5076ec7e6921e8daff (diff) | |
download | scummvm-rg350-af06188baedf10247893c6f964462c74eac5f446.tar.gz scummvm-rg350-af06188baedf10247893c6f964462c74eac5f446.tar.bz2 scummvm-rg350-af06188baedf10247893c6f964462c74eac5f446.zip |
TITANIC: Implementing CPetRooms methods
Diffstat (limited to 'engines/titanic/pet_control/pet_glyphs.h')
-rw-r--r-- | engines/titanic/pet_control/pet_glyphs.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_glyphs.h b/engines/titanic/pet_control/pet_glyphs.h index 9216a42c74..cefcd5cae9 100644 --- a/engines/titanic/pet_control/pet_glyphs.h +++ b/engines/titanic/pet_control/pet_glyphs.h @@ -172,7 +172,12 @@ public: virtual void highlightCurrent(const Point &pt) {} virtual void proc27(const Point &pt, bool flag) {} - virtual void proc28(const Point &pt) {} + + /** + * Handles mouse button down messages + */ + virtual void MouseButtonDownMsg(const Point &pt) {} + virtual int proc29(const Point &pt) { return 0; } /** @@ -384,6 +389,13 @@ public: * Called when a dragging operation ends */ void endDragging(); + + /** + * Reset the highlight + */ + void resetHighlight() { changeHighlight(-1); } + + bool highlighted14(); }; } // End of namespace Titanic |