summaryrefslogtreecommitdiffstats
path: root/src/native.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/native.rs')
-rw-r--r--src/native.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/native.rs b/src/native.rs
index 926b2d11..3537dd52 100644
--- a/src/native.rs
+++ b/src/native.rs
@@ -75,11 +75,16 @@ pub mod widget {
pub use iced_winit::slider::{Slider, State};
}
- pub use iced_winit::{Checkbox, Image, Radio, Text};
+ pub mod image {
+ //! Display images in your user interface.
+ pub use iced_winit::image::{Handle, Image};
+ }
+
+ pub use iced_winit::{Checkbox, Radio, Text};
#[doc(no_inline)]
pub use {
- button::Button, scrollable::Scrollable, slider::Slider,
+ button::Button, image::Image, scrollable::Scrollable, slider::Slider,
text_input::TextInput,
};