egui/crates
lucasmerlin e32ca218e8
Add `WidgetType::Image` and `Image::alt_text` (#5534)
This adds `WidgetType::Image` and correctly sets it in the Image widget.
This allows us to query for images in kittest tests and tells accesskit
that a node is an image.
It also adds `Image::alt_text` to set a text that will be shown if the
image fails to load and will be read via screen readers. This also
allows us to query images by label in kittest.


* [x] I have followed the instructions in the PR template

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2024-12-30 12:53:46 +01:00
..
ecolor Release 0.30 - egui_kittest and modals (#5487) 2024-12-16 17:45:35 +01:00
eframe Add `Context::copy_image` (#5533) 2024-12-29 18:03:32 +01:00
egui Add `WidgetType::Image` and `Image::alt_text` (#5534) 2024-12-30 12:53:46 +01:00
egui-wgpu Release 0.30 - egui_kittest and modals (#5487) 2024-12-16 17:45:35 +01:00
egui-winit Add `Context::copy_image` (#5533) 2024-12-29 18:03:32 +01:00
egui_demo_app Add `WidgetType::Image` and `Image::alt_text` (#5534) 2024-12-30 12:53:46 +01:00
egui_demo_lib Fix cargo test --all-features breaking rendering due to unity vertexes (#5542) 2024-12-30 12:39:17 +01:00
egui_extras Animated WebP support (#5470) 2024-12-29 11:46:08 +01:00
egui_glow Revert "Revert "forward x11 and wayland features to glutin" (#5391)" (#5490) 2024-12-17 09:36:03 +01:00
egui_kittest Add `WidgetType::Image` and `Image::alt_text` (#5534) 2024-12-30 12:53:46 +01:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Make all lines and rectangles crisp (#5518) 2024-12-26 21:02:27 +01:00
epaint Fix cargo test --all-features breaking rendering due to unity vertexes (#5542) 2024-12-30 12:39:17 +01:00
epaint_default_fonts Release 0.30 - egui_kittest and modals (#5487) 2024-12-16 17:45:35 +01:00