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

贡献者指南

Allow custom backends to set the mouse cursor · slint-ui/slint#3905 | Good First Issue