2020-09-14 09:23:51 +10:00
|
|
|
#[derive(Debug, Eq, PartialEq, Clone, Copy, PartialOrd, Ord, Hash)]
|
2020-09-12 01:21:05 +10:00
|
|
|
pub enum MouseCursor {
|
2020-09-14 09:23:51 +10:00
|
|
|
Default,
|
|
|
|
Hand,
|
|
|
|
HandGrabbing,
|
|
|
|
Help,
|
|
|
|
|
|
|
|
Hidden,
|
|
|
|
|
2020-09-12 01:21:05 +10:00
|
|
|
Text,
|
2020-09-14 09:23:51 +10:00
|
|
|
VerticalText,
|
|
|
|
|
2020-09-12 01:21:05 +10:00
|
|
|
Working,
|
2020-09-14 09:23:51 +10:00
|
|
|
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 {
|
2020-09-14 09:23:51 +10:00
|
|
|
Self::Default
|
2020-09-12 01:21:05 +10:00
|
|
|
}
|
|
|
|
}
|