define RenderDyn, RenderBox

This commit is contained in:
🪞👃🪞 2025-01-05 11:24:49 +01:00
parent ee40fff168
commit f24d5dfed0
7 changed files with 20 additions and 22 deletions

View file

@ -76,7 +76,7 @@ impl EdnLayout<Tui> for Groovebox {
_ => 0
}
}
fn get_content <'a> (&'a self, item: &str) -> Box<EdnRender<'a, Tui>> {
fn get_content <'a> (&'a self, item: &str) -> RenderBox<'a, Tui> {
use EdnItem::*;
match item {
":input-meter-l" => Box::new(Meter("L/", self.sampler.input_meter[0])),