mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
27 lines
816 B
Rust
27 lines
816 B
Rust
use crate::*;
|
|
|
|
impl Handle<Tui> for TransportTui {
|
|
fn handle (&mut self, from: &TuiInput) -> Perhaps<bool> {
|
|
TransportCommand::execute_with_state(self, from)
|
|
}
|
|
}
|
|
impl Handle<Tui> for SequencerTui {
|
|
fn handle (&mut self, i: &TuiInput) -> Perhaps<bool> {
|
|
SequencerCommand::execute_with_state(self, i)
|
|
}
|
|
}
|
|
impl Handle<Tui> for ArrangerTui {
|
|
fn handle (&mut self, i: &TuiInput) -> Perhaps<bool> {
|
|
ArrangerCommand::execute_with_state(self, i)
|
|
}
|
|
}
|
|
impl Handle<Tui> for PhrasesModel {
|
|
fn handle (&mut self, from: &TuiInput) -> Perhaps<bool> {
|
|
PhrasesCommand::execute_with_state(self, from)
|
|
}
|
|
}
|
|
impl Handle<Tui> for PhraseEditorModel {
|
|
fn handle (&mut self, from: &TuiInput) -> Perhaps<bool> {
|
|
PhraseCommand::execute_with_state(self, from)
|
|
}
|
|
}
|