aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/record_phonograph_button.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-27 18:29:16 -0400
committerPaul Gilbert2016-08-27 18:29:16 -0400
commit311006c84cd85897cb9c536e948bc6f5d36b3805 (patch)
treee1e33b74090a7abfda909d964b8e25c769e42f9b /engines/titanic/game/record_phonograph_button.h
parent1694680acea712db0149c74de412e309dbd0c1cc (diff)
downloadscummvm-rg350-311006c84cd85897cb9c536e948bc6f5d36b3805.tar.gz
scummvm-rg350-311006c84cd85897cb9c536e948bc6f5d36b3805.tar.bz2
scummvm-rg350-311006c84cd85897cb9c536e948bc6f5d36b3805.zip
TITANIC: Implemented restaurant related game classes
Diffstat (limited to 'engines/titanic/game/record_phonograph_button.h')
-rw-r--r--engines/titanic/game/record_phonograph_button.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/titanic/game/record_phonograph_button.h b/engines/titanic/game/record_phonograph_button.h
index 3383c01e31..985a4c4576 100644
--- a/engines/titanic/game/record_phonograph_button.h
+++ b/engines/titanic/game/record_phonograph_button.h
@@ -28,11 +28,14 @@
namespace Titanic {
class CRecordPhonographButton : public CBackground {
+ DECLARE_MESSAGE_MAP;
+ bool MouseButtonDownMsg(CMouseButtonDownMsg *msg);
+ bool PhonographStopMsg(CPhonographStopMsg *msg);
public:
- int _value;
+ bool _active;
public:
CLASSDEF;
- CRecordPhonographButton() : CBackground(), _value(0) {}
+ CRecordPhonographButton() : CBackground(), _active(false) {}
/**
* Save the data for the class to file