summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pure.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pure.rs b/src/pure.rs
index 29495c07..712bd31f 100644
--- a/src/pure.rs
+++ b/src/pure.rs
@@ -17,7 +17,7 @@
//! [the original widgets]: crate::widget
//! [`button::State`]: crate::widget::button::State
//! [impure `Application`]: crate::Application
-pub use iced_pure::{Element as _, Text as _, *};
+pub use iced_pure::{Element as _, Image as _, Text as _, *};
/// A generic, pure [`Widget`].
pub type Element<'a, Message> =
@@ -26,6 +26,9 @@ pub type Element<'a, Message> =
/// A pure text widget.
pub type Text = iced_pure::Text<crate::Renderer>;
+/// A pure image widget.
+pub type Image = iced_pure::Image<crate::widget::image::Handle>;
+
mod application;
mod sandbox;