mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
groovebox: add slots for output meters
This commit is contained in:
parent
7690549bdc
commit
7bc37e7659
4 changed files with 20 additions and 10 deletions
|
|
@ -108,6 +108,12 @@ impl Sampler {
|
|||
Fill::y(Meter(*value))
|
||||
})))
|
||||
}
|
||||
|
||||
pub fn view_meters_output (&self) -> impl Content<TuiOut> + use<'_> {
|
||||
Tui::bg(Black, Fixed::x(2, Map::east(1, ||self.output_meters.iter(), |value, _index|{
|
||||
Fill::y(Meter(*value))
|
||||
})))
|
||||
}
|
||||
}
|
||||
|
||||
fn draw_list_item (sample: &Option<Arc<RwLock<Sample>>>) -> String {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue