diff options
Diffstat (limited to 'engines/zvision/scripting/controls/push_toggle_control.h')
-rw-r--r-- | engines/zvision/scripting/controls/push_toggle_control.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/zvision/scripting/controls/push_toggle_control.h b/engines/zvision/scripting/controls/push_toggle_control.h index 6ba1bd77fa..7b45fb4831 100644 --- a/engines/zvision/scripting/controls/push_toggle_control.h +++ b/engines/zvision/scripting/controls/push_toggle_control.h @@ -27,6 +27,7 @@ #include "common/rect.h" #include "common/events.h" +#include "common/array.h" namespace ZVision { @@ -65,13 +66,15 @@ private: * The area that will trigger the event * This is in image space coordinates, NOT screen space */ - Common::Rect _hotspot; + Common::Array<Common::Rect> _hotspots; /** The cursor to use when hovering over _hotspot */ Common::String _hoverCursor; /** Button maximal values count */ uint _countTo; Common::EventType _event; + + bool contain(const Common::Point &point); }; } // End of namespace ZVision |