diff options
author | 2019-12-06 19:37:56 +0100 | |
---|---|---|
committer | 2019-12-11 21:34:40 +0100 | |
commit | a88aae5e04e0a92457e5dd617a86af823e90af6c (patch) | |
tree | 2b3601cc15d041709a883c3b80685cf8e0baaa20 /src | |
parent | 80324284282f173e4d26e1f297daaf71a93f51a6 (diff) | |
download | iced-a88aae5e04e0a92457e5dd617a86af823e90af6c.tar.gz iced-a88aae5e04e0a92457e5dd617a86af823e90af6c.tar.bz2 iced-a88aae5e04e0a92457e5dd617a86af823e90af6c.zip |
Added an `Icon` widget to native.
Diffstat (limited to 'src')
-rw-r--r-- | src/native.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/native.rs b/src/native.rs index 3537dd52..b24518a2 100644 --- a/src/native.rs +++ b/src/native.rs @@ -80,11 +80,16 @@ pub mod widget { pub use iced_winit::image::{Handle, Image}; } + pub mod icon { + //! Display icons in your user interface. + pub use iced_winit::icon::Icon; + } + pub use iced_winit::{Checkbox, Radio, Text}; #[doc(no_inline)] pub use { - button::Button, image::Image, scrollable::Scrollable, slider::Slider, + button::Button, icon::Icon, image::Image, scrollable::Scrollable, slider::Slider, text_input::TextInput, }; |