diff options
author | Paul Gilbert | 2016-04-28 18:33:01 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:22:32 -0400 |
commit | b324d2ea6cd422bafd846642ed54620abe7e32ea (patch) | |
tree | cf203de4c96458efaa4406e21ef2cfa429a30aeb /engines/titanic/pet_control/pet_glyphs.h | |
parent | e778ac8bcd6c2e0a026c813614c884e5044110c3 (diff) | |
download | scummvm-rg350-b324d2ea6cd422bafd846642ed54620abe7e32ea.tar.gz scummvm-rg350-b324d2ea6cd422bafd846642ed54620abe7e32ea.tar.bz2 scummvm-rg350-b324d2ea6cd422bafd846642ed54620abe7e32ea.zip |
TITANIC: FIx confusion between mouse down & up messages in CPetGlyph hierarchy
Diffstat (limited to 'engines/titanic/pet_control/pet_glyphs.h')
-rw-r--r-- | engines/titanic/pet_control/pet_glyphs.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/titanic/pet_control/pet_glyphs.h b/engines/titanic/pet_control/pet_glyphs.h index cefcd5cae9..792050166c 100644 --- a/engines/titanic/pet_control/pet_glyphs.h +++ b/engines/titanic/pet_control/pet_glyphs.h @@ -126,10 +126,9 @@ public: virtual Rect getBounds() { return Rect(); } /** - * Checks and updates any highlight of the glyph or any contextual - * information it displays + * Called for mouse button down messages */ - virtual bool checkHighlight(const Point &pt) { return false; } + virtual bool MouseButtonDownMsg(const Point &pt) { return false; } /** * Called when mouse drag starts @@ -174,9 +173,9 @@ public: virtual void proc27(const Point &pt, bool flag) {} /** - * Handles mouse button down messages + * */ - virtual void MouseButtonDownMsg(const Point &pt) {} + virtual void proc28(const Point &pt) {} virtual int proc29(const Point &pt) { return 0; } |