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])),

View file

@ -13,7 +13,7 @@ pub(crate) use ::tek_tui::{
tek_engine::{
from,
Usually, Perhaps,
Output, Content, Render, Thunk, render, Engine, Size, Area,
Output, Content, Render, RenderBox, Thunk, render, Engine, Size, Area,
Input, handle, Handle, command, Command, input_to_command, InputToCommand, keymap, EventMap,
},
Tui,