chore: update application titles
This commit is contained in:
parent
a22b24daf5
commit
58e85201db
|
@ -6,7 +6,7 @@ fn main() -> Result<(), eframe::Error> {
|
|||
..Default::default()
|
||||
};
|
||||
eframe::run_native(
|
||||
"My egui App",
|
||||
"Amethyst",
|
||||
options,
|
||||
Box::new(|cc| Box::new(AmethystApp::new(cc))),
|
||||
)
|
||||
|
@ -27,7 +27,7 @@ impl AmethystApp {
|
|||
impl eframe::App for AmethystApp {
|
||||
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
|
||||
egui::CentralPanel::default().show(ctx, |ui| {
|
||||
ui.heading("My egui Application");
|
||||
ui.heading("Amethyst");
|
||||
ui.horizontal(|ui| {
|
||||
let name_label = ui.label("Your name: ");
|
||||
ui.text_edit_singleline(&mut self.name)
|
||||
|
|
Loading…
Reference in a new issue