mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
define RenderDyn, RenderBox
This commit is contained in:
parent
ee40fff168
commit
f24d5dfed0
7 changed files with 20 additions and 22 deletions
|
|
@ -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])),
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue