mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Rename Data to Context and move to own file
This commit is contained in:
@@ -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!"));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user