Draft ComboBox and Menu layer

This commit is contained in:
Héctor Ramón Jiménez 2020-04-18 14:42:48 +02:00
parent b1afadf1a2
commit afd9274de2
22 changed files with 966 additions and 150 deletions

View file

@ -20,7 +20,7 @@
//! [`wgpu`]: https://github.com/gfx-rs/wgpu-rs
//! [WebGPU API]: https://gpuweb.github.io/gpuweb/
//! [`wgpu_glyph`]: https://github.com/hecrj/wgpu_glyph
#![deny(missing_docs)]
//#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![deny(unused_results)]
#![forbid(unsafe_code)]

View file

@ -11,6 +11,7 @@ use crate::Renderer;
pub mod button;
pub mod checkbox;
pub mod combo_box;
pub mod container;
pub mod pane_grid;
pub mod progress_bar;
@ -24,6 +25,8 @@ pub use button::Button;
#[doc(no_inline)]
pub use checkbox::Checkbox;
#[doc(no_inline)]
pub use combo_box::ComboBox;
#[doc(no_inline)]
pub use container::Container;
#[doc(no_inline)]
pub use pane_grid::PaneGrid;

View file

@ -0,0 +1,3 @@
pub use iced_native::combo_box::State;
pub type ComboBox<'a, T, Message> = iced_native::ComboBox<'a, T, Message>;