egui/emigui/src/containers.rs

22 lines
494 B
Rust
Raw Normal View History

2020-05-10 11:14:52 +00:00
pub mod area;
pub mod collapsing_header;
pub mod frame;
pub mod resize;
pub mod scroll_area;
pub mod window;
pub use {
2020-05-10 11:14:52 +00:00
area::Area, collapsing_header::CollapsingHeader, frame::Frame, resize::Resize,
scroll_area::ScrollArea, window::Window,
};
// TODO
// pub trait Container {
2020-05-08 20:42:31 +00:00
// fn show(self, ui: &mut Ui, add_contents: impl FnOnce(&mut Ui));
// }
// pub trait Container {
2020-05-08 20:42:31 +00:00
// fn begin(&mut self, parent: &mut Ui) -> Ui;
// fn end(self, parent: &mut Ui, content: Ui);
// }