slint-ui/slint

Allow custom backends to set the mouse cursor

Open

#3,905 opened on Nov 11, 2023

View on GitHub
 (0 comments) (4 reactions) (0 assignees)Rust (881 forks)batch import
apigood first issue

Repository metrics

Stars
 (22,596 stars)
PR merge metrics
 (Avg merge 3d 14h) (235 merged PRs in 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

Contributor guide