Move `Size` to `iced_core`
This commit is contained in:
parent
ad3a0a184f
commit
945dfabd71
|
@ -22,6 +22,7 @@ mod font;
|
||||||
mod length;
|
mod length;
|
||||||
mod point;
|
mod point;
|
||||||
mod rectangle;
|
mod rectangle;
|
||||||
|
mod size;
|
||||||
mod vector;
|
mod vector;
|
||||||
|
|
||||||
pub use align::{Align, HorizontalAlignment, VerticalAlignment};
|
pub use align::{Align, HorizontalAlignment, VerticalAlignment};
|
||||||
|
@ -31,4 +32,5 @@ pub use font::Font;
|
||||||
pub use length::Length;
|
pub use length::Length;
|
||||||
pub use point::Point;
|
pub use point::Point;
|
||||||
pub use rectangle::Rectangle;
|
pub use rectangle::Rectangle;
|
||||||
|
pub use size::Size;
|
||||||
pub use vector::Vector;
|
pub use vector::Vector;
|
||||||
|
|
|
@ -52,12 +52,11 @@ mod event;
|
||||||
mod hasher;
|
mod hasher;
|
||||||
mod mouse_cursor;
|
mod mouse_cursor;
|
||||||
mod runtime;
|
mod runtime;
|
||||||
mod size;
|
|
||||||
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, Point,
|
||||||
Rectangle, Vector, VerticalAlignment,
|
Rectangle, Size, Vector, VerticalAlignment,
|
||||||
};
|
};
|
||||||
pub use iced_futures::{executor, futures, Command};
|
pub use iced_futures::{executor, futures, Command};
|
||||||
|
|
||||||
|
@ -72,7 +71,6 @@ pub use layout::Layout;
|
||||||
pub use mouse_cursor::MouseCursor;
|
pub use mouse_cursor::MouseCursor;
|
||||||
pub use renderer::Renderer;
|
pub use renderer::Renderer;
|
||||||
pub use runtime::Runtime;
|
pub use runtime::Runtime;
|
||||||
pub use size::Size;
|
|
||||||
pub use subscription::Subscription;
|
pub use subscription::Subscription;
|
||||||
pub use user_interface::{Cache, UserInterface};
|
pub use user_interface::{Cache, UserInterface};
|
||||||
pub use widget::*;
|
pub use widget::*;
|
||||||
|
|
Loading…
Reference in New Issue