summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-01 14:16:10 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-01 14:16:10 +0100
commite1062a02d17f5748e4809b76ddcc132f1c912886 (patch)
tree70fbd0e7b6ee7801f017f469cfdb1b786e2a085d /src
parent9ab7c47dc7d834ee73bc068f9f34eea4d6946436 (diff)
downloadiced-e1062a02d17f5748e4809b76ddcc132f1c912886.tar.gz
iced-e1062a02d17f5748e4809b76ddcc132f1c912886.tar.bz2
iced-e1062a02d17f5748e4809b76ddcc132f1c912886.zip
Move styling to a brand new `iced_style` crate
Diffstat (limited to 'src')
-rw-r--r--src/native.rs14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/native.rs b/src/native.rs
index d5c9349a..54afee4b 100644
--- a/src/native.rs
+++ b/src/native.rs
@@ -22,7 +22,7 @@ pub mod widget {
//!
//! [`TextInput`]: text_input/struct.TextInput.html
//! [`text_input::State`]: text_input/struct.State.html
- pub use iced_wgpu::button;
+ pub use iced_wgpu::widget::*;
pub mod scrollable {
//! Navigate an endless amount of content with a scrollbar.
@@ -73,8 +73,9 @@ pub mod widget {
#[doc(no_inline)]
pub use {
- button::Button, image::Image, scrollable::Scrollable, slider::Slider,
- svg::Svg, text_input::TextInput,
+ button::Button, container::Container, image::Image,
+ scrollable::Scrollable, slider::Slider, svg::Svg,
+ text_input::TextInput,
};
/// A container that distributes its contents vertically.
@@ -88,13 +89,6 @@ pub mod widget {
/// This is an alias of an `iced_native` row with a default `Renderer`.
pub type Row<'a, Message> =
iced_winit::Row<'a, Message, iced_wgpu::Renderer>;
-
- /// An element decorating some content.
- ///
- /// This is an alias of an `iced_native` container with a default
- /// `Renderer`.
- pub type Container<'a, Message> =
- iced_winit::Container<'a, Message, iced_wgpu::Renderer>;
}
#[doc(no_inline)]