Move MouseCursor to iced_core

This commit is contained in:
Héctor Ramón Jiménez 2020-04-29 03:21:46 +02:00
parent 52719c7076
commit ec712c8032
5 changed files with 7 additions and 6 deletions

View file

@ -23,6 +23,7 @@ mod button_state;
mod color; mod color;
mod font; mod font;
mod length; mod length;
mod mouse_cursor;
mod point; mod point;
mod rectangle; mod rectangle;
mod size; mod size;
@ -34,6 +35,7 @@ pub use button_state::ButtonState;
pub use color::Color; pub use color::Color;
pub use font::Font; pub use font::Font;
pub use length::Length; pub use length::Length;
pub use mouse_cursor::MouseCursor;
pub use point::Point; pub use point::Point;
pub use rectangle::Rectangle; pub use rectangle::Rectangle;
pub use size::Size; pub use size::Size;

View file

@ -50,13 +50,12 @@ mod clipboard;
mod element; mod element;
mod event; mod event;
mod hasher; mod hasher;
mod mouse_cursor;
mod runtime; mod runtime;
mod user_interface; mod user_interface;
pub use iced_core::{ pub use iced_core::{
Align, Background, Color, Font, HorizontalAlignment, Length, Point, Align, Background, Color, Font, HorizontalAlignment, Length, MouseCursor,
Rectangle, Size, Vector, VerticalAlignment, Point, Rectangle, Size, Vector, VerticalAlignment,
}; };
pub use iced_futures::{executor, futures, Command}; pub use iced_futures::{executor, futures, Command};
@ -68,7 +67,6 @@ pub use element::Element;
pub use event::Event; pub use event::Event;
pub use hasher::Hasher; pub use hasher::Hasher;
pub use layout::Layout; pub use layout::Layout;
pub use mouse_cursor::MouseCursor;
pub use renderer::Renderer; pub use renderer::Renderer;
pub use runtime::Runtime; pub use runtime::Runtime;
pub use subscription::Subscription; pub use subscription::Subscription;

View file

@ -207,7 +207,8 @@ use iced_web as runtime;
pub use runtime::{ pub use runtime::{
futures, Align, Background, Color, Command, Font, HorizontalAlignment, futures, Align, Background, Color, Command, Font, HorizontalAlignment,
Length, Point, Rectangle, Size, Subscription, Vector, VerticalAlignment, Length, MouseCursor, Point, Rectangle, Size, Subscription, Vector,
VerticalAlignment,
}; };
#[cfg(not(target_arch = "wasm32"))] #[cfg(not(target_arch = "wasm32"))]

View file

@ -75,7 +75,7 @@ pub use element::Element;
pub use hasher::Hasher; pub use hasher::Hasher;
pub use iced_core::{ pub use iced_core::{
keyboard, Align, Background, Color, Font, HorizontalAlignment, Length, keyboard, Align, Background, Color, Font, HorizontalAlignment, Length,
Point, Rectangle, Size, Vector, VerticalAlignment, MouseCursor, Point, Rectangle, Size, Vector, VerticalAlignment,
}; };
pub use iced_futures::{executor, futures, Command}; pub use iced_futures::{executor, futures, Command};
pub use subscription::Subscription; pub use subscription::Subscription;