aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/start_action.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-28 18:38:17 -0400
committerPaul Gilbert2016-03-28 18:38:17 -0400
commit448cc158c7569e56f692294b97f4fc7a7ffc5baa (patch)
treed7aa24401f0857b22e59ac3af5e10290657ae2bd /engines/titanic/game/start_action.h
parent73204984098c96ecc28a1367a5da9613e7103a35 (diff)
downloadscummvm-rg350-448cc158c7569e56f692294b97f4fc7a7ffc5baa.tar.gz
scummvm-rg350-448cc158c7569e56f692294b97f4fc7a7ffc5baa.tar.bz2
scummvm-rg350-448cc158c7569e56f692294b97f4fc7a7ffc5baa.zip
TITANIC: Fleshed out CStartAction class
Diffstat (limited to 'engines/titanic/game/start_action.h')
-rw-r--r--engines/titanic/game/start_action.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/engines/titanic/game/start_action.h b/engines/titanic/game/start_action.h
index fc7a2ea514..2b19e77fe2 100644
--- a/engines/titanic/game/start_action.h
+++ b/engines/titanic/game/start_action.h
@@ -24,13 +24,19 @@
#define TITANIC_START_ACTION_H
#include "titanic/core/background.h"
+#include "titanic/messages/mouse_messages.h"
namespace Titanic {
-class CStartAction : public CBackground {
+class CStartAction : public CBackground,
+ public CMouseButtonDownMsgTarget,
+ public CMouseButtonUpMsgTarget {
protected:
- CString _string3;
- CString _string4;
+ CString _msgTarget;
+ CString _msgAction;
+protected:
+ virtual bool handleMessage(CMouseButtonDownMsg &msg);
+ virtual bool handleMessage(CMouseButtonUpMsg &msg);
public:
CLASSDEF
CStartAction();