Add WindowBuilder::with_cursor() (#3319)
This commit is contained in:
parent
f5c691467b
commit
ba654bb61e
7 changed files with 26 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ Unreleased` header.
|
|||
|
||||
- On Windows, macOS, X11, Wayland and Web, implement setting images as cursors. See the `custom_cursors.rs` example.
|
||||
- **Breaking:** Remove `Window::set_cursor_icon`
|
||||
- Add `Window::set_cursor` which takes a `CursorIcon` or `CustomCursor`
|
||||
- Add `WindowBuilder::with_cursor` and `Window::set_cursor` which takes a `CursorIcon` or `CustomCursor`
|
||||
- Add `CustomCursor`
|
||||
- Add `CustomCursor::from_rgba` to allow creating cursor images from RGBA data.
|
||||
- Add `CustomCursorExtWebSys::from_url` to allow loading cursor images from URLs.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue