Decouple iced from coffee

This commit is contained in:
Héctor Ramón Jiménez 2019-07-20 19:12:31 +02:00
parent eefdcbe06c
commit 2b7ad3d50e
33 changed files with 2907 additions and 8 deletions

21
src/mouse_cursor.rs Normal file
View file

@ -0,0 +1,21 @@
/// The state of the mouse cursor.
#[derive(Debug, Eq, PartialEq, Clone, Copy)]
pub enum MouseCursor {
/// The cursor is out of the bounds of the user interface.
OutOfBounds,
/// The cursor is over a non-interactive widget.
Idle,
/// The cursor is over a clickable widget.
Pointer,
/// The cursor is over a busy widget.
Working,
/// The cursor is over a grabbable widget.
Grab,
/// The cursor is grabbing a widget.
Grabbing,
}