chore: update application titles

This commit is contained in:
Muhammad Nauman Raza 2024-06-25 20:57:53 +01:00
parent a22b24daf5
commit 58e85201db
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

@ -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)