summaryrefslogtreecommitdiffstats
path: root/web/src/widget.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2019-11-24 19:15:28 +0100
committerLibravatar GitHub <noreply@github.com>2019-11-24 19:15:28 +0100
commitbbcd16c3358e641b8ab1877b802d1f7c5709943d (patch)
tree72c805ce46792f3c038d2d7ea127263ae965a779 /web/src/widget.rs
parent700390bdb297a5fc2eb356b10f9ed2656cc75daa (diff)
parent2b2a0f12c75032453fbefd2491d3ef51ff0ba88e (diff)
downloadiced-bbcd16c3358e641b8ab1877b802d1f7c5709943d.tar.gz
iced-bbcd16c3358e641b8ab1877b802d1f7c5709943d.tar.bz2
iced-bbcd16c3358e641b8ab1877b802d1f7c5709943d.zip
Merge pull request #66 from hecrj/feature/new-web-tour
Make `tour` work with `iced_web` again
Diffstat (limited to 'web/src/widget.rs')
-rw-r--r--web/src/widget.rs13
1 files changed, 10 insertions, 3 deletions
diff --git a/web/src/widget.rs b/web/src/widget.rs
index 30ac8eeb..b0e16692 100644
--- a/web/src/widget.rs
+++ b/web/src/widget.rs
@@ -14,14 +14,17 @@
//! ```
//!
//! [`Widget`]: trait.Widget.html
-use crate::Bus;
+use crate::{style, Bus};
use dodrio::bumpalo;
pub mod button;
+pub mod scrollable;
pub mod slider;
+pub mod text_input;
mod checkbox;
mod column;
+mod container;
mod image;
mod radio;
mod row;
@@ -29,15 +32,18 @@ mod text;
#[doc(no_inline)]
pub use button::Button;
-
+#[doc(no_inline)]
+pub use scrollable::Scrollable;
#[doc(no_inline)]
pub use slider::Slider;
-
#[doc(no_inline)]
pub use text::Text;
+#[doc(no_inline)]
+pub use text_input::TextInput;
pub use checkbox::Checkbox;
pub use column::Column;
+pub use container::Container;
pub use image::Image;
pub use radio::Radio;
pub use row::Row;
@@ -56,5 +62,6 @@ pub trait Widget<Message> {
&self,
bump: &'b bumpalo::Bump,
_bus: &Bus<Message>,
+ style_sheet: &mut style::Sheet<'b>,
) -> dodrio::Node<'b>;
}