refactor bsp, rebalance color, BIG PLAY BUTTON

This commit is contained in:
🪞👃🪞 2024-12-16 04:18:40 +01:00
parent dcd6bc24a7
commit d401870b2d
9 changed files with 215 additions and 152 deletions

View file

@ -173,14 +173,16 @@ impl Tui {
}
}
struct Field(&'static str, String);
///////////////////////////////////////////////////////////////////////////////////////////////////
render!(|self: Field|{
Tui::to_east("", Tui::to_east(
Tui::bold(true, self.0),
Tui::bg(Color::Rgb(0, 0, 0), self.1.as_str()),
))
});
//struct Field(&'static str, String);
//render!(|self: Field|{
//Tui::to_east("│", Tui::to_east(
//Tui::bold(true, self.0),
//Tui::bg(Color::Rgb(0, 0, 0), self.1.as_str()),
//))
//});
//pub struct TransportView {
//pub(crate) state: Option<TransportState>,