add some status bar modes

This commit is contained in:
🪞👃🪞 2024-10-18 23:59:31 +03:00
parent 97af45b576
commit 794460b2e4
2 changed files with 17 additions and 2 deletions

View file

@ -25,7 +25,16 @@ impl Content for Arranger<Tui> {
impl Content for ArrangerStatusBar {
type Engine = Tui;
fn content (&self) -> impl Widget<Engine = Tui> {
"status bar"
let label = match self {
Self::Transport => "Transport",
Self::ArrangementMix => "Arrangement",
Self::ArrangementTrack => "Track",
Self::ArrangementScene => "Scene",
Self::ArrangementClip => "Clip",
Self::PhrasePool => "Phrases",
Self::PhraseEditor => "Sequencer",
};
TuiStyle::bg(format!(" {label} "), Color::Rgb(150, 160, 90)).fg(Color::Rgb(0, 0, 0))
}
}
impl Content for Arrangement<Tui> {