Remade the window adding machanism, added playlist add window
This commit is contained in:
@@ -25,6 +25,12 @@ impl Default for SettingsW {
|
||||
|
||||
|
||||
impl Window for SettingsW {
|
||||
fn id() -> super::WindowId where Self: Sized {
|
||||
super::WindowId::Settings
|
||||
}
|
||||
fn default_title() -> &'static str where Self: Sized {
|
||||
"Settings"
|
||||
}
|
||||
#[allow(irrefutable_let_patterns)]
|
||||
fn draw(&mut self, ui: &mut egui::Ui, _: &mut crate::GuiState) -> crate::Result<()> {
|
||||
ui.group(|ui| {
|
||||
|
||||
Reference in New Issue
Block a user