1
0
Fork 0
baseview/src/mouse_cursor.rs

50 lines
638 B
Rust
Raw Normal View History

#[derive(Debug, Eq, PartialEq, Clone, Copy, PartialOrd, Ord, Hash)]
2020-09-12 01:21:05 +10:00
pub enum MouseCursor {
Default,
Hand,
HandGrabbing,
Help,
Hidden,
2020-09-12 01:21:05 +10:00
Text,
VerticalText,
2020-09-12 01:21:05 +10:00
Working,
PtrWorking,
NotAllowed,
PtrNotAllowed,
ZoomIn,
ZoomOut,
Alias,
Copy,
Move,
AllScroll,
Cell,
Crosshair,
EResize,
NResize,
NeResize,
NwResize,
SResize,
SeResize,
SwResize,
WResize,
EwResize,
NsResize,
NwseResize,
NeswResize,
ColResize,
RowResize,
2020-09-12 01:21:05 +10:00
}
impl Default for MouseCursor {
fn default() -> Self {
Self::Default
2020-09-12 01:21:05 +10:00
}
}