slint-ui/slint

Allow custom backends to set the mouse cursor

Open

#3,905 opened on Nov 11, 2023

View on GitHub
 (0 comments) (3 reactions) (0 assignees)Rust (22,596 stars) (881 forks)batch import
apigood first issue

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