summaryrefslogtreecommitdiffstats
path: root/native/src/mouse_cursor.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-14 08:10:50 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-14 08:10:50 +0100
commitf08cb4ad565799689d07bacc190fbe0436a63648 (patch)
tree1640c49cae49661d1c205755aa09592821698190 /native/src/mouse_cursor.rs
parentdb441a64b18487f3f64bb4f99192548d7fac6893 (diff)
downloadiced-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.rs6
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 {