diff options
author | 2020-03-14 08:10:50 +0100 | |
---|---|---|
committer | 2020-03-14 08:10:50 +0100 | |
commit | f08cb4ad565799689d07bacc190fbe0436a63648 (patch) | |
tree | 1640c49cae49661d1c205755aa09592821698190 /native/src/mouse_cursor.rs | |
parent | db441a64b18487f3f64bb4f99192548d7fac6893 (diff) | |
download | iced-f08cb4ad565799689d07bacc190fbe0436a63648.tar.gz iced-f08cb4ad565799689d07bacc190fbe0436a63648.tar.bz2 iced-f08cb4ad565799689d07bacc190fbe0436a63648.zip |
Implement mouse-based pane resizing for `PaneGrid`
Diffstat (limited to 'native/src/mouse_cursor.rs')
-rw-r--r-- | native/src/mouse_cursor.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/native/src/mouse_cursor.rs b/native/src/mouse_cursor.rs index c7297e0e..0dad3edc 100644 --- a/native/src/mouse_cursor.rs +++ b/native/src/mouse_cursor.rs @@ -21,6 +21,12 @@ pub enum MouseCursor { /// The cursor is over a text widget. Text, + + /// The cursor is resizing a widget horizontally. + ResizingHorizontally, + + /// The cursor is resizing a widget vertically. + ResizingVertically, } impl Default for MouseCursor { |