Remove redundant widget modules in subcrates

Instead, we can define the type aliases just once in the root crate!
This commit is contained in:
Héctor Ramón Jiménez 2022-03-09 14:10:15 +07:00
parent 7d9ab71790
commit 12c1a3f829
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
62 changed files with 225 additions and 780 deletions

View file

@ -41,6 +41,7 @@ pub type Button<'a, Message> = iced_pure::Button<'a, Message, crate::Renderer>;
/// A pure text widget.
pub type Text = iced_pure::Text<crate::Renderer>;
#[cfg(feature = "image")]
/// A pure image widget.
pub type Image = iced_pure::Image<crate::widget::image::Handle>;