diff options
author | Paul Gilbert | 2016-03-28 18:46:41 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-28 18:46:41 -0400 |
commit | 447eb31a6c6abebcd72ff07bd5539aa17db86057 (patch) | |
tree | ceb2d05993b698cf4a8a4af685645424d1edd0d4 /engines/titanic | |
parent | 448cc158c7569e56f692294b97f4fc7a7ffc5baa (diff) | |
download | scummvm-rg350-447eb31a6c6abebcd72ff07bd5539aa17db86057.tar.gz scummvm-rg350-447eb31a6c6abebcd72ff07bd5539aa17db86057.tar.bz2 scummvm-rg350-447eb31a6c6abebcd72ff07bd5539aa17db86057.zip |
TITANIC: Fleshed out CDeadArea class
Diffstat (limited to 'engines/titanic')
-rw-r--r-- | engines/titanic/game/dead_area.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/titanic/game/dead_area.h b/engines/titanic/game/dead_area.h index 4abcd58dd9..c696c841c2 100644 --- a/engines/titanic/game/dead_area.h +++ b/engines/titanic/game/dead_area.h @@ -24,10 +24,19 @@ #define TITANIC_DEAD_AREA_H #include "titanic/core/game_object.h" +#include "titanic/messages/mouse_messages.h" namespace Titanic { -class CDeadArea : public CGameObject { +/** + * Implements a non-responsive screen area + */ +class CDeadArea : public CGameObject, + public CMouseButtonDownMsgTarget, + public CMouseButtonUpMsgTarget { +protected: + virtual bool handleMessage(CMouseButtonDownMsg &msg) { return true; } + virtual bool handleMessage(CMouseButtonUpMsg &msg) { return true; } public: CLASSDEF CDeadArea(); |