Compare commits
No commits in common. "281e4eb9f0a44494530a7bc3422fcd557a26088f" and "c489be9c782cf898e1e37eef649373d1760bdfaf" have entirely different histories.
281e4eb9f0
...
c489be9c78
2 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ fn main() {
|
||||||
options,
|
options,
|
||||||
Box::new(|_ctx| {
|
Box::new(|_ctx| {
|
||||||
// ctx.egui_ctx.options().screen_reader = true;
|
// ctx.egui_ctx.options().screen_reader = true;
|
||||||
Box::<Gui>::default()
|
Box::new(Gui::default())
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ impl eframe::App for Gui {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if ui.button(format!("Edit mode {}", self.edit_mode)).clicked() {
|
if ui.button(format!("Edit mode {}", self.edit_mode)).clicked() {
|
||||||
self.edit_mode = !self.edit_mode;
|
self.edit_mode = !self.edit_mode.clone();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -95,7 +95,7 @@ impl SheetGui for CharacterSheet {
|
||||||
ui.label("Matériel");
|
ui.label("Matériel");
|
||||||
ui.add(DragValue::new(&mut materiel));
|
ui.add(DragValue::new(&mut materiel));
|
||||||
});
|
});
|
||||||
(base, carac, materiel)
|
return (base, carac, materiel);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn gui_address(&mut self, ui: &mut Ui) {
|
fn gui_address(&mut self, ui: &mut Ui) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue