update layout macro invocations

This commit is contained in:
🪞👃🪞 2024-12-31 04:37:45 +01:00
parent e677d1d7d4
commit 83eb9dd2fa
19 changed files with 153 additions and 169 deletions

View file

@ -96,10 +96,7 @@ pub struct TrackView<'a> {
pub entered: bool,
}
impl<'a> Render<Tui> for TrackView<'a> {
fn min_size (&self, area: [u16;2]) -> Perhaps<[u16;2]> {
todo!()
}
impl<'a> Content<Tui> for TrackView<'a> {
fn render (&self, to: &mut TuiOutput) -> Usually<()> {
todo!();
//let mut area = to.area();
@ -131,7 +128,7 @@ impl<'a> Render<Tui> for TrackView<'a> {
}
//impl Content<Tui> for Mixer<Tui> {
//fn content (&self) -> impl Render<Tui> {
//fn content (&self) -> impl Content<Tui> {
//Stack::right(|add| {
//for channel in self.tracks.iter() {
//add(channel)?;
@ -142,7 +139,7 @@ impl<'a> Render<Tui> for TrackView<'a> {
//}
//impl Content<Tui> for Track<Tui> {
//fn content (&self) -> impl Render<Tui> {
//fn content (&self) -> impl Content<Tui> {
//TrackView {
//chain: Some(&self),
//direction: tek_core::Direction::Right,