mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
command system; first for transport
This commit is contained in:
parent
2e96b10fad
commit
524e283075
4 changed files with 230 additions and 46 deletions
|
|
@ -1,4 +1,26 @@
|
|||
use crate::*;
|
||||
|
||||
enum SequencerCommand {
|
||||
FocusNext,
|
||||
FocusPrev,
|
||||
FocusUp,
|
||||
FocusDown,
|
||||
FocusLeft,
|
||||
FocusRight,
|
||||
Transport(TransportCommand),
|
||||
Phrase(PhrasePoolCommand),
|
||||
Editor(PhraseEditorCommand),
|
||||
}
|
||||
|
||||
enum PhrasePoolCommand {
|
||||
}
|
||||
|
||||
enum PhraseLengthCommand {
|
||||
}
|
||||
|
||||
enum PhraseEditorCommand {
|
||||
}
|
||||
|
||||
/// Handle top-level events in standalone sequencer.
|
||||
impl Handle<Tui> for Sequencer<Tui> {
|
||||
fn handle (&mut self, from: &TuiInput) -> Perhaps<bool> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue