mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Implement Window as collection of Floating + Frame + Resize
This commit is contained in:
21
emigui/src/containers.rs
Normal file
21
emigui/src/containers.rs
Normal file
@@ -0,0 +1,21 @@
|
||||
pub mod collapsing_header;
|
||||
pub mod floating;
|
||||
pub mod frame;
|
||||
pub mod resize;
|
||||
pub mod scroll_area;
|
||||
pub mod window;
|
||||
|
||||
pub use {
|
||||
collapsing_header::CollapsingHeader, floating::Floating, frame::Frame, resize::Resize,
|
||||
scroll_area::ScrollArea, window::Window,
|
||||
};
|
||||
|
||||
// TODO
|
||||
// pub trait Container {
|
||||
// fn show(self, region: &mut Region, add_contents: impl FnOnce(&mut Region));
|
||||
// }
|
||||
|
||||
// pub trait Container {
|
||||
// fn begin(&mut self, parent: &mut Region) -> Region;
|
||||
// fn end(self, parent: &mut Region, content: Region);
|
||||
// }
|
||||
Reference in New Issue
Block a user