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/messages/mouse_messages.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/messages/mouse_messages.h')
-rw-r--r-- | engines/titanic/messages/mouse_messages.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/engines/titanic/messages/mouse_messages.h b/engines/titanic/messages/mouse_messages.h index d17bd51c78..e7c419bbdc 100644 --- a/engines/titanic/messages/mouse_messages.h +++ b/engines/titanic/messages/mouse_messages.h @@ -179,6 +179,32 @@ public: } }; +class CChildDragMoveMsg : public CMessage { +public: + Point _mousePos; +public: + CLASSDEF; + CChildDragMoveMsg() : CMessage() {} + CChildDragMoveMsg(const Point &pt) : CMessage(), _mousePos(pt) {} + + static bool isSupportedBy(const CTreeItem *item) { + return supports(item, _type); + } +}; + +class CChildDragStartMsg : public CMessage { +public: + Point _mousePos; +public: + CLASSDEF; + CChildDragStartMsg() : CMessage() {} + CChildDragStartMsg(const Point &pt) : CMessage(), _mousePos(pt) {} + + static bool isSupportedBy(const CTreeItem *item) { + return supports(item, _type); + } +}; + } // End of namespace Titanic #endif /* TITANIC_MOUSE_MESSAGES_H */ |