mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
Arranger -> Arrangement; ArrangerStandalone -> Arranger
This commit is contained in:
parent
11a66ee415
commit
a6b08a3249
5 changed files with 166 additions and 165 deletions
|
|
@ -412,3 +412,20 @@ pub fn write_midi_output (writer: &mut MidiWriter, output: &MIDIChunk, frames: u
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct SequencerProxy<E: Engine>(pub PhantomData<E>, pub bool);
|
||||
|
||||
impl Handle<Tui> for SequencerProxy<Tui> {
|
||||
fn handle (&mut self, _: &TuiInput) -> Perhaps<bool> { unreachable!() }
|
||||
}
|
||||
|
||||
impl Content for SequencerProxy<Tui> {
|
||||
type Engine = Tui;
|
||||
fn content (&self) -> impl Widget<Engine = Tui> { "" }
|
||||
}
|
||||
|
||||
impl Focusable<Tui> for SequencerProxy<Tui> {
|
||||
fn is_focused (&self) -> bool { self.1 }
|
||||
fn set_focused (&mut self, focus: bool) { self.1 = focus }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue