diff options
author | 2019-12-16 21:38:33 +0100 | |
---|---|---|
committer | 2019-12-16 21:38:33 +0100 | |
commit | 3702b109977a249247a0f1be40e57bec2cbaa4e3 (patch) | |
tree | 9919f2ee30ab29c83a2455f838313ab5bfb2f146 /src/native.rs | |
parent | c1b9f6652517dcbf5ffd83b5db4a624f9a5b0da4 (diff) | |
parent | 514ccf8a72d660d77f26e085b545e5104389c138 (diff) | |
download | iced-3702b109977a249247a0f1be40e57bec2cbaa4e3.tar.gz iced-3702b109977a249247a0f1be40e57bec2cbaa4e3.tar.bz2 iced-3702b109977a249247a0f1be40e57bec2cbaa4e3.zip |
Merge pull request #111 from Maldela/svg
Svg and icon support
Diffstat (limited to 'src/native.rs')
-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..c6ddf25b 100644 --- a/src/native.rs +++ b/src/native.rs @@ -80,12 +80,17 @@ pub mod widget { pub use iced_winit::image::{Handle, Image}; } + pub mod svg { + //! Display vector graphics in your user interface. + pub use iced_winit::svg::{Handle, Svg}; + } + pub use iced_winit::{Checkbox, Radio, Text}; #[doc(no_inline)] pub use { button::Button, image::Image, scrollable::Scrollable, slider::Slider, - text_input::TextInput, + svg::Svg, text_input::TextInput, }; /// A container that distributes its contents vertically. |