mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
arranger: ClipsView at last
This commit is contained in:
parent
b5326b578c
commit
4d0868add8
6 changed files with 55 additions and 33 deletions
|
|
@ -42,6 +42,12 @@ maybe_has!(Track: |self: App|
|
|||
maybe_has!(Scene: |self: App|
|
||||
{ MaybeHas::<Scene>::get(&self.project) };
|
||||
{ MaybeHas::<Scene>::get_mut(&mut self.project) });
|
||||
impl HasSceneScroll for App {
|
||||
fn scene_scroll (&self) -> usize { self.project.scene_scroll() }
|
||||
}
|
||||
impl HasTrackScroll for App {
|
||||
fn track_scroll (&self) -> usize { self.project.track_scroll() }
|
||||
}
|
||||
|
||||
has_clips!(|self: App|self.project.pool.clips);
|
||||
has_editor!(|self: App|{
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@ impl App {
|
|||
}
|
||||
}
|
||||
|
||||
impl ArrangerSceneRows for App {
|
||||
impl ScenesView for App {
|
||||
fn arrangement (&self) -> &Arrangement {
|
||||
&self.project
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue