1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

Rename Region to Ui (shorter, sweeter)

This commit is contained in:
Emil Ernerfeldt
2020-05-08 22:42:31 +02:00
parent cbd51c3f43
commit fa82e8d806
22 changed files with 508 additions and 524 deletions

View File

@@ -12,10 +12,10 @@ pub use {
// TODO
// pub trait Container {
// fn show(self, region: &mut Region, add_contents: impl FnOnce(&mut Region));
// fn show(self, ui: &mut Ui, add_contents: impl FnOnce(&mut Ui));
// }
// pub trait Container {
// fn begin(&mut self, parent: &mut Region) -> Region;
// fn end(self, parent: &mut Region, content: Region);
// fn begin(&mut self, parent: &mut Ui) -> Ui;
// fn end(self, parent: &mut Ui, content: Ui);
// }