mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
update layout macro invocations
This commit is contained in:
parent
e677d1d7d4
commit
83eb9dd2fa
19 changed files with 153 additions and 169 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue