Remove redundant widget modules in subcrates
Instead, we can define the type aliases just once in the root crate!
This commit is contained in:
parent
7d9ab71790
commit
12c1a3f829
62 changed files with 225 additions and 780 deletions
|
|
@ -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>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue