aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/game/dead_area.h11
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();