diff options
author | Paul Gilbert | 2016-08-17 23:56:20 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-17 23:56:20 -0400 |
commit | 912b3b15d2f11f12303d8dd7beb20c5f8716ea51 (patch) | |
tree | baa57737ff53716da0712083e571bc9ac1a9453b /engines/titanic/game/chev_panel.h | |
parent | 69083ae71f2fe111a64206f234011013fcfd2ba4 (diff) | |
download | scummvm-rg350-912b3b15d2f11f12303d8dd7beb20c5f8716ea51.tar.gz scummvm-rg350-912b3b15d2f11f12303d8dd7beb20c5f8716ea51.tar.bz2 scummvm-rg350-912b3b15d2f11f12303d8dd7beb20c5f8716ea51.zip |
TITANIC: Implemented CChevPanel class
Diffstat (limited to 'engines/titanic/game/chev_panel.h')
-rw-r--r-- | engines/titanic/game/chev_panel.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/engines/titanic/game/chev_panel.h b/engines/titanic/game/chev_panel.h index 99b5501ac2..bcfb920221 100644 --- a/engines/titanic/game/chev_panel.h +++ b/engines/titanic/game/chev_panel.h @@ -28,13 +28,21 @@ namespace Titanic { class CChevPanel : public CGameObject { + DECLARE_MESSAGE_MAP; + bool MouseDragStartMsg(CMouseDragStartMsg *msg); + bool MouseDragMoveMsg(CMouseDragMoveMsg *msg); + bool MouseButtonUpMsg(CMouseButtonUpMsg *msg); + bool SetChevPanelBitMsg(CSetChevPanelBitMsg *msg); + bool MouseDragEndMsg(CMouseDragEndMsg *msg); + bool ClearChevPanelBits(CClearChevPanelBits *msg); + bool MouseButtonDownMsg(CMouseButtonDownMsg *msg); + bool SetChevPanelButtonsMsg(CSetChevPanelButtonsMsg *msg); public: - int _fieldBC; - int _fieldC0; - int _fieldC4; + Point _startPos; + int _chevCode; public: CLASSDEF; - CChevPanel() : _fieldBC(0), _fieldC0(0), _fieldC4(0) {} + CChevPanel() : _chevCode(0) {} /** * Save the data for the class to file |