1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 12:50:04 -04:00

Rename Data to Context and move to own file

This commit is contained in:
Emil Ernerfeldt
2020-04-17 15:33:52 +02:00
parent de76cb6190
commit f709423809
8 changed files with 159 additions and 158 deletions

View File

@@ -92,7 +92,7 @@ fn main() {
emigui.ui(&mut region);
// TODO: Make it simpler to show a window
Window::new("Test window").show(region.data().clone(), |region| {
Window::new("Test window").show(region.ctx(), |region| {
region.add(label!("Grab the window and move it around!"));
});