summaryrefslogtreecommitdiffstats
path: root/native/src/widget.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/widget.rs')
-rw-r--r--native/src/widget.rs13
1 files changed, 12 insertions, 1 deletions
diff --git a/native/src/widget.rs b/native/src/widget.rs
index 71dcdc0d..f9424b02 100644
--- a/native/src/widget.rs
+++ b/native/src/widget.rs
@@ -25,10 +25,13 @@ pub mod checkbox;
pub mod column;
pub mod container;
pub mod image;
+pub mod progress_bar;
pub mod radio;
pub mod row;
pub mod scrollable;
pub mod slider;
+pub mod space;
+pub mod svg;
pub mod text;
pub mod text_input;
@@ -43,6 +46,8 @@ pub use container::Container;
#[doc(no_inline)]
pub use image::Image;
#[doc(no_inline)]
+pub use progress_bar::ProgressBar;
+#[doc(no_inline)]
pub use radio::Radio;
#[doc(no_inline)]
pub use row::Row;
@@ -51,11 +56,15 @@ pub use scrollable::Scrollable;
#[doc(no_inline)]
pub use slider::Slider;
#[doc(no_inline)]
+pub use space::Space;
+#[doc(no_inline)]
+pub use svg::Svg;
+#[doc(no_inline)]
pub use text::Text;
#[doc(no_inline)]
pub use text_input::TextInput;
-use crate::{layout, Event, Hasher, Layout, Length, Point};
+use crate::{layout, Clipboard, Event, Hasher, Layout, Length, Point};
/// A component that displays information and allows interaction.
///
@@ -98,6 +107,7 @@ where
fn draw(
&self,
renderer: &mut Renderer,
+ defaults: &Renderer::Defaults,
layout: Layout<'_>,
cursor_position: Point,
) -> Renderer::Output;
@@ -139,6 +149,7 @@ where
_cursor_position: Point,
_messages: &mut Vec<Message>,
_renderer: &Renderer,
+ _clipboard: Option<&dyn Clipboard>,
) {
}
}