egui/crates
Emil Ernerfeldt c530504a04
CSS-like shadows with offset, spread, and blur (#4232)
This makes `epaint::Shadow` more like CSS's box-shadow, adding `offset`
and replacing `extrusion` with `blur` and `spread`.

* Closes https://github.com/emilk/egui/pull/3047

The offsets make for nice drop-shadow effects.

Old shadows:
<img width="1447" alt="old-shadows"
src="https://github.com/emilk/egui/assets/1148717/8a30f7b9-fb9d-49ea-9a2f-9367a60c448a">

New shadows:
<img width="1447" alt="new-shadows-full"
src="https://github.com/emilk/egui/assets/1148717/28cc9c1e-b0de-4c5b-a705-22e52c556584">
2024-03-26 10:37:12 +01:00
..
ecolor Release 0.26.2 - Response.interact/context_menu fix 2024-02-14 10:49:57 +01:00
eframe Some clippy fixes 2024-03-22 12:33:35 +01:00
egui CSS-like shadows with offset, spread, and blur (#4232) 2024-03-26 10:37:12 +01:00
egui-wgpu Release 0.26.2 - Response.interact/context_menu fix 2024-02-14 10:49:57 +01:00
egui-winit Add x11 window type settings to viewport builder (#4175) 2024-03-21 12:07:20 +01:00
egui_demo_app egui demo: Add drop down to resize the window (#4197) 2024-03-25 13:11:39 +01:00
egui_demo_lib On touch screens, press-and-hold equals a secondary click (#4195) 2024-03-20 11:49:17 +01:00
egui_extras Added ability to disable highlighting of weekend days in DatePickerPopup. (#4151) 2024-03-21 11:09:19 +01:00
egui_glow Release 0.26.2 - Response.interact/context_menu fix 2024-02-14 10:49:57 +01:00
egui_plot Expose `PlotGeometry` in public API (#4193) 2024-03-21 12:27:18 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath typos : intersects_ray() (#4201) 2024-03-21 12:10:02 +01:00
epaint CSS-like shadows with offset, spread, and blur (#4232) 2024-03-26 10:37:12 +01:00