zed/crates/gpui/examples
Nate Butler 8b0a0dfb11
gpui: Update Shadow Example (#22434)
This PR adds a more comprehensive shadow example to gpui:

![CleanShot 2024-12-26 at 13 54
05@2x](https://github.com/user-attachments/assets/452fb8a1-d294-4b56-b0e0-f4e4ca6c29d4)

This is prep to work on the following issues:

- Shadows with a blur of 0 do not render. Expected: A shadow with sharp
edges (#22433)
- Spread does not correctly conform to the shape the shadow is cast from

Release Notes:

- N/A
2024-12-26 19:23:10 +00:00
..
image gpui: Remove use of use gpui::* in examples (#22311) 2024-12-20 23:09:30 +00:00
svg gpui: Remove use of use gpui::* in examples (#22311) 2024-12-20 23:09:30 +00:00
animation.rs gpui: Remove use of use gpui::* in examples (#22311) 2024-12-20 23:09:30 +00:00
gif_viewer.rs
gradient.rs
hello_world.rs gpui: Remove use of use gpui::* in examples (#22311) 2024-12-20 23:09:30 +00:00
image_loading.rs
input.rs gpui: Remove use of use gpui::* in examples (#22311) 2024-12-20 23:09:30 +00:00
opacity.rs gpui: Remove use of use gpui::* in examples (#22311) 2024-12-20 23:09:30 +00:00
ownership_post.rs
painting.rs
set_menus.rs gpui: Remove use of use gpui::* in examples (#22311) 2024-12-20 23:09:30 +00:00
shadow.rs gpui: Update Shadow Example (#22434) 2024-12-26 19:23:10 +00:00
text_wrapper.rs gpui: Remove use of use gpui::* in examples (#22311) 2024-12-20 23:09:30 +00:00
uniform_list.rs gpui: Remove use of use gpui::* in examples (#22311) 2024-12-20 23:09:30 +00:00
window.rs gpui: Remove use of use gpui::* in examples (#22311) 2024-12-20 23:09:30 +00:00
window_positioning.rs gpui: Remove use of use gpui::* in examples (#22311) 2024-12-20 23:09:30 +00:00
window_shadow.rs gpui: Remove use of use gpui::* in examples (#22311) 2024-12-20 23:09:30 +00:00