use super::sample_browser::SampleBrowserState;

#[derive(Clone, Copy, PartialEq, Eq, Default)]
pub enum PanelFocus {
    #[default]
    Main,
    Side,
}

pub enum SidePanel {
    SampleBrowser(SampleBrowserState),
}

pub struct PanelState {
    pub side: Option<SidePanel>,
    pub focus: PanelFocus,
    pub visible: bool,
}

impl Default for PanelState {
    fn default() -> Self {
        Self {
            side: None,
            focus: PanelFocus::Main,
            visible: false,
        }
    }
}
