From 0030bcbd33f5c4db60aac826552042e46b51c691 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 5 Feb 2020 00:23:22 +0100 Subject: Rename module `style` to `css` in `iced_web` --- web/src/widget.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/src/widget.rs') diff --git a/web/src/widget.rs b/web/src/widget.rs index 0ac536bd..2e80346e 100644 --- a/web/src/widget.rs +++ b/web/src/widget.rs @@ -14,7 +14,7 @@ //! ``` //! //! [`Widget`]: trait.Widget.html -use crate::{style, Bus}; +use crate::{Bus, Css}; use dodrio::bumpalo; pub mod button; @@ -64,6 +64,6 @@ pub trait Widget { &self, bump: &'b bumpalo::Bump, _bus: &Bus, - style_sheet: &mut style::Sheet<'b>, + style_sheet: &mut Css<'b>, ) -> dodrio::Node<'b>; } -- cgit From 9a06e481b7f52a9d8e123c909d5614332f607c53 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 5 Feb 2020 04:13:13 +0100 Subject: Add `Handle` and `Data` to `image` in `iced_web` --- web/src/widget.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/src/widget.rs') diff --git a/web/src/widget.rs b/web/src/widget.rs index 2e80346e..3192a767 100644 --- a/web/src/widget.rs +++ b/web/src/widget.rs @@ -18,6 +18,7 @@ use crate::{Bus, Css}; use dodrio::bumpalo; pub mod button; +pub mod image; pub mod scrollable; pub mod slider; pub mod text_input; @@ -25,7 +26,6 @@ pub mod text_input; mod checkbox; mod column; mod container; -mod image; mod radio; mod row; mod space; -- cgit From ce45ecc23546efd85f04a76fcb1a3a691d259129 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 6 Feb 2020 00:28:25 +0100 Subject: Expose missing widget modules in `iced_web` --- web/src/widget.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/src/widget.rs') diff --git a/web/src/widget.rs b/web/src/widget.rs index 3192a767..e5481243 100644 --- a/web/src/widget.rs +++ b/web/src/widget.rs @@ -18,15 +18,15 @@ use crate::{Bus, Css}; use dodrio::bumpalo; pub mod button; +pub mod checkbox; +pub mod container; pub mod image; +pub mod radio; pub mod scrollable; pub mod slider; pub mod text_input; -mod checkbox; mod column; -mod container; -mod radio; mod row; mod space; mod text; -- cgit From f5228695a2fcdecd1da9071d477ee34855783b29 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 6 Feb 2020 01:24:40 +0100 Subject: Implement `ProgressBar` widget in `iced_web` --- web/src/widget.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web/src/widget.rs') diff --git a/web/src/widget.rs b/web/src/widget.rs index e5481243..025cf22f 100644 --- a/web/src/widget.rs +++ b/web/src/widget.rs @@ -21,6 +21,7 @@ pub mod button; pub mod checkbox; pub mod container; pub mod image; +pub mod progress_bar; pub mod radio; pub mod scrollable; pub mod slider; @@ -46,6 +47,7 @@ pub use checkbox::Checkbox; pub use column::Column; pub use container::Container; pub use image::Image; +pub use progress_bar::ProgressBar; pub use radio::Radio; pub use row::Row; pub use space::Space; -- cgit