bevy/crates/bevy_window/src
MrGVSV 5479047aa2 Added set_cursor_icon(...) to Window (#3395)
# Objective

The window's cursor should be settable without having to implement a custom cursor icon solution. This will especially be helpful when creating user-interfaces that might like to use the cursor to denote some meaning (e.g., _clickable_, _resizable_, etc.).

## Solution

Added a `CursorIcon` enum that maps one-to-one to winit's `CursorIcon` enum, as well as a method to set/get it for the given `Window`.
2021-12-20 22:04:45 +00:00
..
cursor.rs Added set_cursor_icon(...) to Window (#3395) 2021-12-20 22:04:45 +00:00
event.rs Fix scale_factor_override in the winit backend (#2784) 2021-09-10 18:46:16 +00:00
lib.rs Added set_cursor_icon(...) to Window (#3395) 2021-12-20 22:04:45 +00:00
raw_window_handle.rs fix clippy 2021-07-24 16:43:37 -07:00
system.rs Add EventWriter (#1575) 2021-03-07 20:42:04 +00:00
window.rs Added set_cursor_icon(...) to Window (#3395) 2021-12-20 22:04:45 +00:00
windows.rs can change window settings at runtime (#644) 2020-10-15 11:42:19 -07:00