repose_core/cursor.rs
1#[derive(Clone, Copy, Debug, PartialEq, Eq)]
2pub enum CursorIcon {
3 Default,
4 Pointer,
5 Text,
6 EwResize,
7 NsResize,
8 NwseResize,
9 NeswResize,
10 Grab,
11 Grabbing,
12 /// Hide the OS cursor entirely. Games draw their own crosshair
13 /// (e.g. twin-stick shooters in keyboard mode) and the OS arrow
14 /// would double-paint next to it. Platform runners implement this
15 /// with `set_cursor_visible(false)`, not an icon.
16 Hidden,
17}