summaryrefslogtreecommitdiffstats
path: root/core/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-21 13:47:20 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-21 13:47:20 +0100
commit65eb218d3d7ba52b2869a586a1480eeb3c8f84e4 (patch)
tree644f27f40f2f4b8ee1abe7743aac426297503eea /core/src/lib.rs
parentd3553adf278e5b616fbd885f321faa83a4d24b56 (diff)
downloadiced-65eb218d3d7ba52b2869a586a1480eeb3c8f84e4.tar.gz
iced-65eb218d3d7ba52b2869a586a1480eeb3c8f84e4.tar.bz2
iced-65eb218d3d7ba52b2869a586a1480eeb3c8f84e4.zip
Move widgets from `core` to `native` and `web`
Also made fields private and improved `Renderer` traits.
Diffstat (limited to 'core/src/lib.rs')
-rw-r--r--core/src/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs
index 692e40d4..5a608fe8 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -12,7 +12,6 @@
#![deny(unused_results)]
#![deny(unsafe_code)]
#![deny(rust_2018_idioms)]
-pub mod widget;
mod align;
mod background;
@@ -23,7 +22,7 @@ mod point;
mod rectangle;
mod vector;
-pub use align::Align;
+pub use align::{Align, HorizontalAlignment, VerticalAlignment};
pub use background::Background;
pub use color::Color;
pub use font::Font;
@@ -31,7 +30,6 @@ pub use length::Length;
pub use point::Point;
pub use rectangle::Rectangle;
pub use vector::Vector;
-pub use widget::*;
#[cfg(feature = "command")]
mod command;