Early gui impl, basic window management
This commit is contained in:
14
xmpd-gui/src/windows/error.rs
Normal file
14
xmpd-gui/src/windows/error.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
use super::Window;
|
||||
|
||||
|
||||
#[derive(Debug, Default)]
|
||||
pub struct ErrorW {
|
||||
|
||||
}
|
||||
|
||||
impl Window for ErrorW {
|
||||
fn draw(&self, ui: &mut egui::Ui, state: &mut crate::GuiState) -> crate::Result<()> {
|
||||
ui.label("Hello from other window!");
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user