egui/crates/egui_kittest/src
Lucas Meurer 0152a87519
Create custom `egui_kittest::Node` (#7138)
This adds a custom Node struct with proper support for egui types
(`Key`, `Modifiers`, `egui::Event`, `Rect`) instead of needing to use
the kittest / accesskit types.

I also changed the `click` function to do a proper mouse move / mouse
down instead of the accesskit click. Also added `accesskit_click` to
trigger the accesskit event. This resulted in some changed snapshots,
since the elements are now hovered.

Also renamed `press_key` to `key_press` for consistency with
`key_down/key_up`.

Also removed the Deref to the AccessKit Node, to make it clearer when to
expect egui and when to expect accesskit types.

* Closes #5705 
* [x] I have followed the instructions in the PR template
2025-06-17 12:17:38 +02:00
..
app_kind.rs Fix some clippy issues found by 1.84.0 (#5603) 2025-01-13 08:29:13 +01:00
builder.rs Mark HarnessBuilder build functions with #[must_use] 2025-06-07 17:19:12 -07:00
lib.rs Create custom `egui_kittest::Node` (#7138) 2025-06-17 12:17:38 +02:00
node.rs Create custom `egui_kittest::Node` (#7138) 2025-06-17 12:17:38 +02:00
renderer.rs Wgpu resources are no longer wrapped in `Arc` (since they are now `Clone`) (#5612) 2025-01-20 18:06:35 +01:00
snapshot.rs Rename `master` branch to `main` (#7034) 2025-05-08 09:15:42 +02:00
texture_to_image.rs Update to wgpu 25 (#6744) 2025-05-10 13:16:49 +02:00
wgpu.rs Update to wgpu 25 (#6744) 2025-05-10 13:16:49 +02:00