iced-yoda/core/src/mouse/interaction.rs

24 lines
433 B
Rust
Raw Normal View History

/// The interaction of a mouse cursor.
2023-03-14 11:11:17 +01:00
#[derive(Debug, Eq, PartialEq, Clone, Copy, PartialOrd, Ord, Default)]
#[allow(missing_docs)]
pub enum Interaction {
2023-03-14 11:11:17 +01:00
#[default]
2024-04-25 06:05:00 +02:00
None,
Idle,
Pointer,
Grab,
Text,
Crosshair,
Working,
Grabbing,
ResizingHorizontally,
ResizingVertically,
ResizingDiagonallyUp,
ResizingDiagonallyDown,
NotAllowed,
ZoomIn,
ZoomOut,
Cell,
Move,
}