back to egui main branch
This commit is contained in:
parent
ab31d19db0
commit
3f329bbb9b
@ -22,7 +22,7 @@ opt-level = 2
|
|||||||
lto = false
|
lto = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
eframe = { git = "https://github.com/emilk/egui", default-features = false, branch = "eframe-app-creation-refactor" }
|
eframe = { git = "https://github.com/emilk/egui", default-features = false }
|
||||||
shadow-rs = { version = "0.9", default-features = false }
|
shadow-rs = { version = "0.9", default-features = false }
|
||||||
const_format = { version = "0.2.22", default-features = false, features = ["fmt"] }
|
const_format = { version = "0.2.22", default-features = false, features = ["fmt"] }
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
|
|||||||
@ -27,7 +27,7 @@ cfg_if::cfg_if! {
|
|||||||
log_helper("Finished initializing!");
|
log_helper("Finished initializing!");
|
||||||
|
|
||||||
log_helper("Starting App...");
|
log_helper("Starting App...");
|
||||||
eframe::start_web("canvas", |cc| Box::new(egui_app::MathApp::new(cc)))
|
eframe::start_web("canvas", Box::new(|cc| Box::new(egui_app::MathApp::new(cc))))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,7 +14,9 @@ fn main() {
|
|||||||
drag_and_drop_support: true,
|
drag_and_drop_support: true,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
};
|
};
|
||||||
eframe::run_native("(Yet-to-be-named) Graphing Software", options, |cc| {
|
eframe::run_native(
|
||||||
Box::new(egui_app::MathApp::new(cc))
|
"(Yet-to-be-named) Graphing Software",
|
||||||
});
|
options,
|
||||||
|
Box::new(|cc| Box::new(egui_app::MathApp::new(cc))),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user