slint-ui/slint

Allow custom backends to set the mouse cursor

Offen

#3.905 geöffnet am 11.11.2023

 (0 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)Rust (881 Forks)batch import
apigood first issue

Repository-Metriken

Stars
 (22.596 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 4T 18h) (254 gemergte PRs in 30 T)

Beschreibung

Currently set_mouse_cursor() is in WindowAdapterInternal and MouseCursor is in the internal core crate. Move those to the public API.

@ogoffart suggested possibly using the cursor-icon crate for the enum: https://github.com/rust-windowing/cursor-icon

Contributor Guide