mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 13:16:44 +01:00
piecing back together the groovebox
This commit is contained in:
parent
77091671a3
commit
50bb8cab07
3 changed files with 8 additions and 14 deletions
|
|
@ -219,12 +219,8 @@ render!(Tui: (self: PoolView<'a>) => {
|
|||
offset(Tui::bg(if selected { color.light.rgb } else { color.base.rgb }, lay!(
|
||||
Align::w(Tui::fg(color.lightest.rgb, format!(" {i:>3} {name}"))),
|
||||
Align::e(Tui::fg(color.lightest.rgb, format!("{length} "))),
|
||||
Align::w(Tui::when(selected, Tui::bold(true, Tui::fg(color.lightest.rgb, "[")))),
|
||||
Align::e(Tui::when(selected, Tui::bold(true, Tui::fg(color.lightest.rgb, "]")))),
|
||||
//Tui::when(, Fixed::y(1, Tui::fg(Color::Green, lay!(
|
||||
//Align::w(format!("[")),
|
||||
//Align::e(format!("]")),
|
||||
//))))
|
||||
Align::w(Tui::when(selected, Tui::bold(true, Tui::fg(TuiTheme::g(255), "▶")))),
|
||||
Align::e(Tui::when(selected, Tui::bold(true, Tui::fg(TuiTheme::g(255), "◀")))),
|
||||
)))/*
|
||||
//format!(" {i} {name} {length} ")[>
|
||||
//Push::y(i as u16 * 2, Fixed::y(2, Tui::bg(color.base.rgb, Fill::x(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue