slint-ui/slint

Allow custom backends to set the mouse cursor

Open

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

在 GitHub 查看
 (0 留言) (4 反應) (0 負責人)Rust (881 fork)batch import
apigood first issue

倉庫指標

Star
 (22,596 star)
PR 合併指標
 (平均合併 4天 18小時) (30 天內合併 254 個 PR)

描述

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

貢獻者指南