slint/internal/compiler/tests
Ashley 0670cb1dc7
Handle rotating mouse events (#9317)
* Start on touch event rotation work

* [autofix.ci] apply automated fixes

* Use ItemTransform instead.

* [autofix.ci] apply automated fixes

* Use casts to deal with integer Coords on some platforms

* Remove rotation checks

* Transform the exit event as well

* Delete check_rotation pass

* Do casts around transform_point to handle i32 Coords

* Remove errors from rotation syntax test

* Basic event rotation test

Working changes

* Fix clicks on rotated objects

* Add RendererSealed::suppports_transformation for runtime checks

* [autofix.ci] apply automated fixes

* Add a few missing line breaks, only transform events if supported by
renderer

* Improve test

* Remove extra whitespace

* Get absolute-position working

* Ensure map_to_window does the coordinate cast thing.

* Manually test mouse-x and mouse-y, test absolute_position()

* Whitespace stuff again

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-12 00:13:14 +12:00
..
syntax Handle rotating mouse events (#9317) 2025-09-12 00:13:14 +12:00
typeloader Change the new error that detects binding loop through the window into a warning 2025-06-02 19:01:47 +02:00
consistent_styles.rs Fix clippy issues, plus a few manual cleanups 2025-02-06 17:28:51 +01:00
syntax_tests.rs compiler: Add SLINT_TEST_FILTER to syntax tests (#8673) 2025-07-01 14:24:55 +02:00