1
0
Fork 0
baseview/src/mouse_cursor.rs

20 lines
320 B
Rust
Raw Normal View History

2020-09-12 01:21:05 +10:00
#[derive(Debug, Eq, PartialEq, Clone, Copy, PartialOrd, Ord)]
pub enum MouseCursor {
Idle,
Pointer,
Grab,
Text,
Crosshair,
Working,
Grabbing,
ResizingHorizontally,
ResizingVertically,
2020-09-14 00:19:05 +10:00
Hidden,
2020-09-12 01:21:05 +10:00
}
impl Default for MouseCursor {
fn default() -> Self {
Self::Idle
}
}