aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_element.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-01 08:32:30 -0400
committerPaul Gilbert2016-04-01 08:32:30 -0400
commit883e198eb3c5e54c2c3bc9b01f65f3420840873f (patch)
tree5f46493b9482ae95bae99a6dc9c137cea330ad1a /engines/titanic/pet_control/pet_element.h
parent43f183c207023c4398548ae385c9f3cbf853d9a9 (diff)
downloadscummvm-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.h3
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