summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-30 08:16:38 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-30 08:16:38 +0200
commit98bc8cf2a7c4944d762a0148ca9f615d6ccc0d6e (patch)
tree9e22665e41793517b7ba0b48d7315d3283dfde91 /native
parentd4c4198f7242f168de65146e0ca339e0c1cbfe9b (diff)
downloadiced-98bc8cf2a7c4944d762a0148ca9f615d6ccc0d6e.tar.gz
iced-98bc8cf2a7c4944d762a0148ca9f615d6ccc0d6e.tar.bz2
iced-98bc8cf2a7c4944d762a0148ca9f615d6ccc0d6e.zip
Rename `MouseCursor` to `mouse::Interaction`
Diffstat (limited to 'native')
-rw-r--r--native/src/lib.rs4
-rw-r--r--native/src/window/backend.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/native/src/lib.rs b/native/src/lib.rs
index 88bf4423..9882803f 100644
--- a/native/src/lib.rs
+++ b/native/src/lib.rs
@@ -55,8 +55,8 @@ mod runtime;
mod user_interface;
pub use iced_core::{
- Align, Background, Color, Font, HorizontalAlignment, Length, MouseCursor,
- Point, Rectangle, Size, Vector, VerticalAlignment,
+ Align, Background, Color, Font, HorizontalAlignment, Length, Point,
+ Rectangle, Size, Vector, VerticalAlignment,
};
pub use iced_futures::{executor, futures, Command};
diff --git a/native/src/window/backend.rs b/native/src/window/backend.rs
index 3bc691cd..892d4bb9 100644
--- a/native/src/window/backend.rs
+++ b/native/src/window/backend.rs
@@ -1,4 +1,4 @@
-use crate::MouseCursor;
+use crate::mouse;
use raw_window_handle::HasRawWindowHandle;
@@ -51,5 +51,5 @@ pub trait Backend: Sized {
output: &<Self::Renderer as crate::Renderer>::Output,
scale_factor: f64,
overlay: &[T],
- ) -> MouseCursor;
+ ) -> mouse::Interaction;
}