Remade the window adding machanism, added playlist add window
This commit is contained in:
@@ -13,6 +13,12 @@ pub struct DebugW {
|
||||
}
|
||||
|
||||
impl Window for DebugW {
|
||||
fn id() -> super::WindowId where Self: Sized {
|
||||
super::WindowId::Debug
|
||||
}
|
||||
fn default_title() -> &'static str where Self: Sized {
|
||||
"DEBUG WINDOW"
|
||||
}
|
||||
fn draw(&mut self, ui: &mut egui::Ui, _: &mut crate::GuiState) -> crate::Result<()> {
|
||||
ui.group(|ui| {
|
||||
ui.vertical(|ui| {
|
||||
|
||||
Reference in New Issue
Block a user