diff options
Diffstat (limited to 'engines/zvision/control.h')
-rw-r--r-- | engines/zvision/control.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/zvision/control.h b/engines/zvision/control.h index b374383a45..f17ee7750d 100644 --- a/engines/zvision/control.h +++ b/engines/zvision/control.h @@ -25,6 +25,8 @@ #include "common/types.h" +#include "zvision/mouse_event.h" + namespace Common { class SeekableReadStream; } @@ -54,6 +56,16 @@ public: static void parsePushToggleControl(uint32 key, ZVision *engine, Common::SeekableReadStream &stream); }; +class PushToggleControl : public Control { +public: + PushToggleControl(uint32 key, Common::SeekableReadStream &stream); + bool enable(ZVision *engine); + bool disable(ZVision *engine); + +private: + MouseEvent _event; +}; + } // End of namespace ZVision #endif |