mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
groovebox: display input meters!
This commit is contained in:
parent
e5752ea4b0
commit
7690549bdc
12 changed files with 239 additions and 117 deletions
|
|
@ -102,6 +102,12 @@ impl Sampler {
|
|||
pub fn status (&self, index: usize) -> impl Content<TuiOut> {
|
||||
draw_status(self.mapped[index].as_ref())
|
||||
}
|
||||
|
||||
pub fn view_meters_input (&self) -> impl Content<TuiOut> + use<'_> {
|
||||
Tui::bg(Black, Fixed::x(2, Map::east(1, ||self.input_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