mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 15:13:12 -04:00
remove argument app
This commit is contained in:
@@ -29,7 +29,7 @@ impl eframe::App for MyApp {
|
||||
}
|
||||
|
||||
fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) {
|
||||
custom_window_frame(self, ctx, frame, "egui with custom frame", |ui| {
|
||||
custom_window_frame(ctx, frame, "egui with custom frame", |ui| {
|
||||
ui.label("This is just the contents of the window");
|
||||
ui.horizontal(|ui| {
|
||||
ui.label("egui theme:");
|
||||
@@ -40,7 +40,6 @@ impl eframe::App for MyApp {
|
||||
}
|
||||
|
||||
fn custom_window_frame(
|
||||
app: &mut MyApp,
|
||||
ctx: &egui::Context,
|
||||
frame: &mut eframe::Frame,
|
||||
title: &str,
|
||||
|
||||
Reference in New Issue
Block a user