wip: p.54, e=85

This commit is contained in:
🪞👃🪞 2024-11-18 16:51:43 +01:00
parent 76af9d9bac
commit 54fb5b6ece
9 changed files with 629 additions and 571 deletions

View file

@ -83,6 +83,7 @@ pub enum PhraseCommand {
impl<T: TransportControl> Command<T> for TransportCommand {
fn execute (self, state: &mut T) -> Perhaps<Self> {
use TransportCommand::{Focus, Clock, Playhead};
use FocusCommand::{Next, Prev};
use ClockCommand::{SetBpm, SetQuant, SetSync};
Ok(Some(match self {
Focus(Next) => { todo!() }
@ -133,6 +134,24 @@ impl<T: ArrangerControl + FocusGrid> Command<T> for ArrangerCommand {
}
}
impl<T> Command<T> for ArrangerSceneCommand {
fn execute (self, state: &mut T) -> Perhaps<Self> {
todo!()
}
}
impl<T> Command<T> for ArrangerTrackCommand {
fn execute (self, state: &mut T) -> Perhaps<Self> {
todo!()
}
}
impl<T> Command<T> for ArrangerClipCommand {
fn execute (self, state: &mut T) -> Perhaps<Self> {
todo!()
}
}
impl Command<PhrasesTui> for PhrasesCommand {
fn execute (self, view: &mut PhrasesTui) -> Perhaps<Self> {
use PhraseRenameCommand as Rename;