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