bevy/examples/window
mgi388 14ad25227b
Make CustomCursor variants CustomCursorImage/CustomCursorUrl structs (#17518)
# Objective

- Make `CustomCursor::Image` easier to work with by splitting the enum
variants off into `CustomCursorImage` and `CustomCursorUrl` structs and
deriving `Default` on those structs.
- Refs #17276.

## Testing

- Ran two examples: `cargo run --example custom_cursor_image
--features=custom_cursor` and `cargo run --example window_settings
--features=custom_cursor`
- CI.

---

## Migration Guide

The `CustomCursor` enum's variants now hold instances of
`CustomCursorImage` or `CustomCursorUrl`. Update your uses of
`CustomCursor` accordingly.
2025-01-24 05:39:04 +00:00
..
clear_color.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
custom_cursor_image.rs Make CustomCursor variants CustomCursorImage/CustomCursorUrl structs (#17518) 2025-01-24 05:39:04 +00:00
custom_user_event.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
low_power.rs Remove everything except Instant from bevy_utils::time (#17158) 2025-01-05 20:36:08 +00:00
monitor_info.rs Rename TargetCamera to UiTargetCamera (#17403) 2025-01-19 19:56:57 +00:00
multiple_windows.rs Rename TargetCamera to UiTargetCamera (#17403) 2025-01-19 19:56:57 +00:00
scale_factor_override.rs Merge Style properties into Node. Use ComputedNode for computed properties. (#15975) 2024-10-18 22:25:33 +00:00
screenshot.rs simplify example, replace get_single to Single Query (#16187) 2024-11-01 18:25:42 +00:00
transparent_window.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
window_drag_move.rs Fix a few typos (#17292) 2025-01-10 22:48:30 +00:00
window_resizing.rs Merge Style properties into Node. Use ComputedNode for computed properties. (#15975) 2024-10-18 22:25:33 +00:00
window_settings.rs Make CustomCursor variants CustomCursorImage/CustomCursorUrl structs (#17518) 2025-01-24 05:39:04 +00:00