mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
wip: once and for all arranger rendering architecture
one wishes
This commit is contained in:
parent
b6d1978a55
commit
b5326b578c
3 changed files with 32 additions and 14 deletions
|
|
@ -16,6 +16,14 @@ pub struct ArrangerView<'a> {
|
|||
/// Height available to display track headers.
|
||||
pub tracks_height: u16,
|
||||
}
|
||||
impl<'a> Has<Vec<Scene>> for ArrangerView<'a> {
|
||||
fn get (&self) -> &Vec<Scene> {
|
||||
&self.arrangement.scenes
|
||||
}
|
||||
fn get_mut (&mut self) -> &mut Vec<Scene> {
|
||||
&mut self.arrangement.scenes
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> ArrangerView<'a> {
|
||||
pub fn new (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue