slint/internal/compiler/tests/syntax
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
..
accessibility syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
analysis compiler: Produce a binding loop error when using rem on default-font-size itself 2025-08-21 21:31:27 +02:00
basic Handle rotating mouse events (#9317) 2025-09-12 00:13:14 +12:00
callbacks syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
elements MenuBar: allow it to be in a if 2025-08-18 11:17:57 +02:00
exports syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
expressions syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
focus syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
functions Change the new error that detects binding loop through the window into a warning 2025-06-02 19:01:47 +02:00
fuzzing syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
imports syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
layout compiler: Dialog padding has effect and shouldn't be a warning 2025-07-03 10:25:16 +02:00
lookup Add an Easing namespace (#9179) 2025-08-21 09:06:48 +02:00
new_syntax syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00
parse_error syntax_tests: allow to update tests, and don't use a regexp (#8589) 2025-06-02 16:47:33 +02:00