From 387a5eaf4a58abf33eb2d3ed66cf33d3e7344650 Mon Sep 17 00:00:00 2001 From: MCorange Date: Sun, 22 Sep 2024 01:12:08 +0300 Subject: [PATCH] How did that happen? (Deleted left over file) --- "\\" | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 "\\" diff --git "a/\\" "b/\\" deleted file mode 100644 index a1c71f5..0000000 --- "a/\\" +++ /dev/null @@ -1,31 +0,0 @@ -use std::collections::HashMap; - -use super::Gui; - -mod song_edit; - -trait Window { - fn show(&mut self, gui: &mut Gui, ctx: &egui::Context, open: &mut bool) -> anyhow::Result<()>; - fn name(&self) -> &'static str; -} - -pub enum WindowIndex { - SongEdit -} - - -pub struct WindowManager { - windows: HashMap> -} - -impl WindowManager { - pub fn new() -> Self { - let mut windows = HashMap::new(); - windows.instert(WindowIndex::SongEdit, Box::::default()); - Self { - windows: HashMap::from_iter([ - (WindowIndex::SongEdit, Box::::default()) - ]) - } - } -}