mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
wip: refactor pt.41 (52e)
This commit is contained in:
parent
8856353eab
commit
79895fe3f6
4 changed files with 133 additions and 80 deletions
|
|
@ -34,7 +34,7 @@ pub enum ArrangerSceneCommand {
|
|||
//}
|
||||
|
||||
pub trait ArrangerSceneApi: Sized {
|
||||
fn name (&self) -> Arc<RwLock<String>>;
|
||||
fn name (&self) -> &Arc<RwLock<String>>;
|
||||
fn clips (&self) -> &Vec<Option<Arc<RwLock<Phrase>>>>;
|
||||
fn color (&self) -> ItemColor;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ pub enum ArrangerTrackCommand {
|
|||
|
||||
pub trait ArrangerTrackApi: PlayerApi + Send + Sync + Sized {
|
||||
/// Name of track
|
||||
fn name (&self) -> Arc<RwLock<String>>;
|
||||
fn name (&self) -> &Arc<RwLock<String>>;
|
||||
/// Preferred width of track column
|
||||
fn width (&self) -> usize;
|
||||
/// Preferred width of track column
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue