mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
cmdsys: delegate handling
This commit is contained in:
parent
9b770c468f
commit
c551f83d5c
6 changed files with 72 additions and 57 deletions
|
|
@ -164,7 +164,8 @@ pub struct PhraseLength<E: Engine> {
|
|||
Tick,
|
||||
}
|
||||
/// Focus layout of sequencer app
|
||||
impl<E: Engine> FocusGrid<SequencerFocus> for Sequencer<E> {
|
||||
impl<E: Engine> FocusGrid for Sequencer<E> {
|
||||
type Item = SequencerFocus;
|
||||
fn cursor (&self) -> (usize, usize) { self.focus_cursor }
|
||||
fn cursor_mut (&mut self) -> &mut (usize, usize) { &mut self.focus_cursor }
|
||||
fn layout (&self) -> &[&[SequencerFocus]] { &[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue