FyroxEngine / Fyrox

3D and 2D game engine written in Rust
https://fyrox.rs
MIT License
7.49k stars 339 forks source link

WindowEvent::Touch translation to Fyrox UI Touch events #557

Closed bocksdin closed 8 months ago

bocksdin commented 8 months ago

Description

This PR translates the OS WindowEvent::Touch into a Fyrox UI Touch event. This includes the creation of WidgetMessages and the firing of ButtonMessage::Click when a button is tapped.