diff options
author | richiesams | 2013-08-11 15:10:52 -0500 |
---|---|---|
committer | richiesams | 2013-08-11 15:10:52 -0500 |
commit | 269bed7c7d279e0785056a4e5ba1622317402449 (patch) | |
tree | 4ddfbbaf7b959006cb3a0eb4ad2e4789295974a4 /engines/zvision/zvision.h | |
parent | 3e8bc76127a66ad631095de94a57c31aabb7d6b4 (diff) | |
download | scummvm-rg350-269bed7c7d279e0785056a4e5ba1622317402449.tar.gz scummvm-rg350-269bed7c7d279e0785056a4e5ba1622317402449.tar.bz2 scummvm-rg350-269bed7c7d279e0785056a4e5ba1622317402449.zip |
ZVISION: Implement mouse event handling
Diffstat (limited to 'engines/zvision/zvision.h')
-rw-r--r-- | engines/zvision/zvision.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/zvision/zvision.h b/engines/zvision/zvision.h index 8363fb1672..bf42bf2621 100644 --- a/engines/zvision/zvision.h +++ b/engines/zvision/zvision.h @@ -33,6 +33,7 @@ #include "zvision/detection.h" #include "zvision/clock.h" +#include "zvision/mouse_event.h" #include "gui/debugger.h" @@ -82,6 +83,9 @@ private: // Clock Clock _clock; + // To store the current mouse events + Common::List<MouseEvent> _mouseEvents; + // To prevent allocation every time we process events Common::Event _event; @@ -99,6 +103,9 @@ public: void playVideo(Video::VideoDecoder &videoDecoder, const Common::Rect &destRect = Common::Rect(0, 0, 0, 0), bool skippable = true); + void registerMouseEvent(const MouseEvent &event); + void clearAllMouseEvents(); + void cycleThroughCursors(); private: |