diff options
author | 2020-04-29 03:14:59 +0200 | |
---|---|---|
committer | 2020-04-29 03:14:59 +0200 | |
commit | 0509710cc59797ce492f55943a6db60c47a2d599 (patch) | |
tree | 5c2ef1356d55c67eedd8a98f2a32c2968eb747f8 /native | |
parent | 59403b6ca80081fa419fbef76c92397db68f1ab1 (diff) | |
download | iced-0509710cc59797ce492f55943a6db60c47a2d599.tar.gz iced-0509710cc59797ce492f55943a6db60c47a2d599.tar.bz2 iced-0509710cc59797ce492f55943a6db60c47a2d599.zip |
Add `Crosshair` variant to `MouseCursor`
Diffstat (limited to 'native')
-rw-r--r-- | native/src/mouse_cursor.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/native/src/mouse_cursor.rs b/native/src/mouse_cursor.rs index 8bfa2b44..78ddb0ae 100644 --- a/native/src/mouse_cursor.rs +++ b/native/src/mouse_cursor.rs @@ -13,12 +13,15 @@ pub enum MouseCursor { /// The cursor is over a grabbable widget. Grab, - /// The cursor is grabbing a widget. - Grabbing, - /// The cursor is over a text widget. Text, + /// The cursor is over a widget that requires precision. + Crosshair, + + /// The cursor is grabbing a widget. + Grabbing, + /// The cursor is resizing a widget horizontally. ResizingHorizontally, |