summaryrefslogtreecommitdiffstats
path: root/wgpu/src/widget
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu/src/widget')
-rw-r--r--wgpu/src/widget/combo_box.rs9
-rw-r--r--wgpu/src/widget/pick_list.rs9
2 files changed, 9 insertions, 9 deletions
diff --git a/wgpu/src/widget/combo_box.rs b/wgpu/src/widget/combo_box.rs
deleted file mode 100644
index 20feeaca..00000000
--- a/wgpu/src/widget/combo_box.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-//! Display a dropdown list of selectable values.
-pub use iced_native::combo_box::State;
-
-pub use iced_graphics::combo_box::{Style, StyleSheet};
-pub use iced_graphics::overlay::menu::Style as Menu;
-
-/// A widget allowing the selection of a single value from a list of options.
-pub type ComboBox<'a, T, Message> =
- iced_native::ComboBox<'a, T, Message, crate::Renderer>;
diff --git a/wgpu/src/widget/pick_list.rs b/wgpu/src/widget/pick_list.rs
new file mode 100644
index 00000000..fccc68c9
--- /dev/null
+++ b/wgpu/src/widget/pick_list.rs
@@ -0,0 +1,9 @@
+//! Display a dropdown list of selectable values.
+pub use iced_native::pick_list::State;
+
+pub use iced_graphics::overlay::menu::Style as Menu;
+pub use iced_graphics::pick_list::{Style, StyleSheet};
+
+/// A widget allowing the selection of a single value from a list of options.
+pub type PickList<'a, T, Message> =
+ iced_native::PickList<'a, T, Message, crate::Renderer>;