aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/mouse_event.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/zvision/mouse_event.h b/engines/zvision/mouse_event.h
index 5537bcc4e5..90a093f894 100644
--- a/engines/zvision/mouse_event.h
+++ b/engines/zvision/mouse_event.h
@@ -34,9 +34,9 @@ class ZVision;
class MouseEvent {
public:
+ MouseEvent() : _key(0) {}
MouseEvent(uint32 key, const Common::Rect &hotspot, const Common::String hoverCursor);
-private:
/** The Control key */
uint32 _key;
/**
@@ -47,7 +47,6 @@ private:
/** The cursor to use when hovering over _hotspot */
Common::String _hoverCursor;
-public:
/**
* Does a simple Rect::contains() using _hotspot
*