diff options
author | Paul Gilbert | 2016-08-25 20:46:33 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-25 20:46:33 -0400 |
commit | 1f0b9cb68d02d956ec745bef16f0dbddaa743bec (patch) | |
tree | 1caba7007cc529982bd5932923d33b5cf8569853 /engines/titanic/game/missiveomat_button.h | |
parent | db179c11bb7d8f82183e39e2778491ead55d875e (diff) | |
download | scummvm-rg350-1f0b9cb68d02d956ec745bef16f0dbddaa743bec.tar.gz scummvm-rg350-1f0b9cb68d02d956ec745bef16f0dbddaa743bec.tar.bz2 scummvm-rg350-1f0b9cb68d02d956ec745bef16f0dbddaa743bec.zip |
TITANIC: Implemented more game classes
Diffstat (limited to 'engines/titanic/game/missiveomat_button.h')
-rw-r--r-- | engines/titanic/game/missiveomat_button.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/titanic/game/missiveomat_button.h b/engines/titanic/game/missiveomat_button.h index d36f5bd958..6dbfd4cd56 100644 --- a/engines/titanic/game/missiveomat_button.h +++ b/engines/titanic/game/missiveomat_button.h @@ -28,11 +28,15 @@ namespace Titanic { class CMissiveOMatButton : public CEditControl { + DECLARE_MESSAGE_MAP; + bool MouseButtonDownMsg(CMouseButtonDownMsg *msg); + bool VisibleMsg(CVisibleMsg *msg); + bool MouseDoubleClickMsg(CMouseDoubleClickMsg *msg); public: - int _fieldFC; + int _buttonId; public: CLASSDEF; - CMissiveOMatButton() : CEditControl(), _fieldFC(2) {} + CMissiveOMatButton() : CEditControl(), _buttonId(2) {} /** * Save the data for the class to file |