kimci86
37c87ee11e
Test Event::visit with move-only visitor
2025-01-25 13:10:56 -07:00
vittorioromeo
18393ea5cb
Add non-const
overload of Event::visit
2025-01-22 18:03:00 +01:00
Chris Thrasher
796592edae
Add non-const overload of sf::Event::getIf
2024-12-29 20:50:38 -06:00
binary1248
41c48a84bc
Added visitation support to Event and WindowBase via handleEvents.
2024-07-08 15:16:20 -06:00
vittorioromeo
86c1a71a93
Remove default empty state of sf::Event
2024-06-23 19:11:10 +02:00
Paul Meffle
92bba1ed6f
Add support for raw mouse input
2024-06-04 13:24:10 -06:00
trustytrojan
ca0a231b35
Add operator bool()
to sf::Event
for checking if the event type is not Empty
2024-05-03 22:50:59 +00:00
Chris Thrasher
59447dd8e5
Rewrite sf::Event
API to improve type safety
...
This new API is built on top of std::variant. This allows us to
store many different event types in a space-efficient way and access
the active event type in a type-safe manner that eliminates the
categories of UB that are possible with unions.
Co-authored-by: kimci86 <kimci86@hotmail.fr>
2024-05-01 18:00:58 +00:00
Chris Thrasher
05b69119e4
Add tests for sf::Event
2023-08-27 10:04:14 -06:00