mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 13:16:44 +01:00
add some status bar modes
This commit is contained in:
parent
97af45b576
commit
794460b2e4
2 changed files with 17 additions and 2 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue