Commit Graph

9 Commits

Author SHA1 Message Date
480e864b53 Show event wasn't invoked on overlay when visibility was set to true on add. 2021-01-09 17:08:35 +01:00
352984d6d9 Overlays must be handled & rendered in their order. 2020-05-24 18:42:22 +02:00
7dde894bf0 Fixed two bugs with overlay visibility.
- Toggle didn't toggle but hide.
- Hide hid the overlay but didn't trigger any callbacks/events.
2020-05-18 20:59:05 +02:00
bcf3093c87 Overlays all handle the same events but if a overlay handles the event then the content won't get the event. 2020-05-17 16:11:47 +02:00
b9534ee255 Made tooltip overlay switch visibility only when changed.
Added Tooltip.SetVisibility.
Fixed bug where no events where triggered for change in visibility.
2020-05-17 07:21:58 +02:00
8c48c949e9 Renamed Overlay callbacks & extended interface of Overlay (must be a Control as well). 2020-05-16 10:57:14 +02:00
9af85d79a6 Added callbacks & events when visibility of an overlay changes.
Added proxy that proxies overlay callbacks as well (on top of control callbacks).
2020-05-16 10:12:54 +02:00
d742fba7e9 Added Events and changed event handlers of controls.
Removed EventHandlers from Control interface.
2020-05-15 19:00:43 +02:00
6db13c8f46 Added overlays. 2020-05-15 16:02:54 +02:00