slint-ui/slint

Allow custom backends to set the mouse cursor

Open

#3,905 建立於 2023年11月11日

在 GitHub 查看
 (0 留言) (3 反應) (0 負責人)Rust (22,596 star) (881 fork)batch import
apigood first issue

描述

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

貢獻者指南