diff options
author | Paul Gilbert | 2016-04-01 08:32:30 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-04-01 08:32:30 -0400 |
commit | 883e198eb3c5e54c2c3bc9b01f65f3420840873f (patch) | |
tree | 5f46493b9482ae95bae99a6dc9c137cea330ad1a /engines/titanic/pet_control/pet_element.h | |
parent | 43f183c207023c4398548ae385c9f3cbf853d9a9 (diff) | |
download | scummvm-rg350-883e198eb3c5e54c2c3bc9b01f65f3420840873f.tar.gz scummvm-rg350-883e198eb3c5e54c2c3bc9b01f65f3420840873f.tar.bz2 scummvm-rg350-883e198eb3c5e54c2c3bc9b01f65f3420840873f.zip |
TITANIC: Implement PET CMouseButtonDownMsg handling
Diffstat (limited to 'engines/titanic/pet_control/pet_element.h')
-rw-r--r-- | engines/titanic/pet_control/pet_element.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_element.h b/engines/titanic/pet_control/pet_element.h index fdb8ca5e56..13f209cefa 100644 --- a/engines/titanic/pet_control/pet_element.h +++ b/engines/titanic/pet_control/pet_element.h @@ -26,6 +26,7 @@ #include "titanic/simple_file.h" #include "titanic/string.h" #include "titanic/core/link_item.h" +#include "titanic/messages/mouse_messages.h" namespace Titanic { @@ -69,7 +70,7 @@ public: virtual void getBounds(Rect *rect); virtual bool proc6(const Common::Point &pt); - virtual bool proc7(const Common::Point &pt); + virtual bool handleMessage(CMouseButtonDownMsg &msg); /** * Returns whether the passed point falls inside the item |