mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
separate Input and Output impls
This commit is contained in:
parent
a6efde40f8
commit
0e821e098f
77 changed files with 465 additions and 454 deletions
|
|
@ -2,7 +2,7 @@ use crate::*;
|
|||
use super::*;
|
||||
|
||||
pub struct ArrangerVIns<'a> {
|
||||
size: &'a Measure<Tui>,
|
||||
size: &'a Measure<TuiOut>,
|
||||
tracks: &'a Vec<ArrangerTrack>,
|
||||
}
|
||||
|
||||
|
|
@ -11,10 +11,10 @@ from!(<'a>|args: &'a ArrangerTui|ArrangerVIns<'a> = Self {
|
|||
tracks: &args.tracks,
|
||||
});
|
||||
|
||||
render!(Tui: (self: ArrangerVIns<'a>) => "");
|
||||
render!(TuiOut: (self: ArrangerVIns<'a>) => "");
|
||||
|
||||
pub struct ArrangerVOuts<'a> {
|
||||
size: &'a Measure<Tui>,
|
||||
size: &'a Measure<TuiOut>,
|
||||
tracks: &'a Vec<ArrangerTrack>,
|
||||
}
|
||||
|
||||
|
|
@ -23,4 +23,4 @@ from!(<'a>|args: &'a ArrangerTui|ArrangerVOuts<'a> = Self {
|
|||
tracks: &args.tracks,
|
||||
});
|
||||
|
||||
render!(Tui: (self: ArrangerVOuts<'a>) => "");
|
||||
render!(TuiOut: (self: ArrangerVOuts<'a>) => "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue