slint-ui/slint

Allow custom backends to set the mouse cursor

Ouverte

#3 905 ouverte le 11 nov. 2023

 (0 commentaire) (4 réactions) (0 personne assignée)Rust (881 forks)batch import
apigood first issue

Métriques du dépôt

Stars
 (22 596 étoiles)
Métriques de merge PR
 (Merge moyen 4j 18h) (254 PRs mergées en 30 j)

Description

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

Guide contributeur