mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-19 18:36:42 +01:00
wip: scrollable arranger
This commit is contained in:
parent
53f443f4bd
commit
1924d51323
3 changed files with 18 additions and 11 deletions
|
|
@ -71,3 +71,14 @@ fn button_play_pause (playing: bool) -> impl Content<TuiOut> {
|
|||
Tui::fg(Rgb(0, 255, 0), Bsp::s(" 🭍🭑🬽 ", " 🭞🭜🭘 ",)),
|
||||
Tui::fg(Rgb(255, 128, 0), Bsp::s(" ▗▄▖ ", " ▝▀▘ ",)))))))
|
||||
}
|
||||
|
||||
#[cfg(test)] mod test {
|
||||
use super::*;
|
||||
#[test] fn test_view_clock () {
|
||||
let _ = button_play_pause(true);
|
||||
let mut app = Tek::default();
|
||||
let _ = app.view_transport();
|
||||
let _ = app.view_status();
|
||||
let _ = app.update_clock();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue