summaryrefslogtreecommitdiffstats
path: root/graphics/src/widget/checkbox.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/widget/checkbox.rs')
-rw-r--r--graphics/src/widget/checkbox.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/src/widget/checkbox.rs b/graphics/src/widget/checkbox.rs
new file mode 100644
index 00000000..3c8b58de
--- /dev/null
+++ b/graphics/src/widget/checkbox.rs
@@ -0,0 +1,10 @@
+//! Show toggle controls using checkboxes.
+use crate::Renderer;
+
+pub use iced_style::checkbox::{Style, StyleSheet};
+
+/// A box that can be checked.
+///
+/// This is an alias of an `iced_native` checkbox with an `iced_wgpu::Renderer`.
+pub type Checkbox<Message, Backend> =
+ iced_native::Checkbox<Message, Renderer<Backend>>;