mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-08-27 22:21:24 +08:00
46 lines
837 B
C++
46 lines
837 B
C++
#ifndef CROSSDESK_COMMON_REMOTE_CURSOR_SHAPE_H_
|
|
#define CROSSDESK_COMMON_REMOTE_CURSOR_SHAPE_H_
|
|
|
|
#include <cstdint>
|
|
|
|
namespace crossdesk {
|
|
|
|
// Keep these values aligned with Slint's MouseCursor enum. The wire protocol
|
|
// intentionally carries a semantic cursor instead of a platform handle so a
|
|
// Windows, macOS or Linux host can control a different desktop platform.
|
|
enum class RemoteCursorShape : uint8_t {
|
|
default_cursor = 0,
|
|
none,
|
|
help,
|
|
pointer,
|
|
progress,
|
|
wait,
|
|
crosshair,
|
|
text,
|
|
alias,
|
|
copy,
|
|
move,
|
|
no_drop,
|
|
not_allowed,
|
|
grab,
|
|
grabbing,
|
|
col_resize,
|
|
row_resize,
|
|
n_resize,
|
|
e_resize,
|
|
s_resize,
|
|
w_resize,
|
|
ne_resize,
|
|
nw_resize,
|
|
se_resize,
|
|
sw_resize,
|
|
ew_resize,
|
|
ns_resize,
|
|
nesw_resize,
|
|
nwse_resize,
|
|
};
|
|
|
|
} // namespace crossdesk
|
|
|
|
#endif // CROSSDESK_COMMON_REMOTE_CURSOR_SHAPE_H_
|