Settings panel ui

This commit is contained in:
2024-11-15 14:58:09 +02:00
parent a060161c64
commit b29caa58b4
10 changed files with 132 additions and 68 deletions

View File

@@ -7,7 +7,7 @@ pub struct ErrorW {
}
impl Window for ErrorW {
fn draw(&self, ui: &mut egui::Ui, _: &mut crate::GuiState) -> crate::Result<()> {
fn draw(&mut self, ui: &mut egui::Ui, _: &mut crate::GuiState) -> crate::Result<()> {
ui.label("Hello from other window!");
Ok(())
}