summaryrefslogtreecommitdiffstats
path: root/web/src/widget.rs
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/widget.rs')
-rw-r--r--web/src/widget.rs16
1 files changed, 10 insertions, 6 deletions
diff --git a/web/src/widget.rs b/web/src/widget.rs
index b0e16692..025cf22f 100644
--- a/web/src/widget.rs
+++ b/web/src/widget.rs
@@ -14,20 +14,22 @@
//! ```
//!
//! [`Widget`]: trait.Widget.html
-use crate::{style, Bus};
+use crate::{Bus, Css};
use dodrio::bumpalo;
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;
pub mod text_input;
-mod checkbox;
mod column;
-mod container;
-mod image;
-mod radio;
mod row;
+mod space;
mod text;
#[doc(no_inline)]
@@ -45,8 +47,10 @@ 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;
/// A component that displays information and allows interaction.
///
@@ -62,6 +66,6 @@ pub trait Widget<Message> {
&self,
bump: &'b bumpalo::Bump,
_bus: &Bus<Message>,
- style_sheet: &mut style::Sheet<'b>,
+ style_sheet: &mut Css<'b>,
) -> dodrio::Node<'b>;
}