slint-ui/slint

Allow custom backends to set the mouse cursor

Aberta

#3.905 aberto em 11 de nov. de 2023

 (0 comentário) (4 reações) (0 responsável)Rust (881 forks)batch import
apigood first issue

Métricas do repositório

Stars
 (22.596 estrelas)
Métricas de merge de PR
 (Mesclagem média 4d 18h) (254 fundiu PRs em 30d)

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

Guia do colaborador