mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 12:46:42 +01:00
switch toolbar actions; bold borders and titles
This commit is contained in:
parent
7dd5f7f488
commit
31f8ec5362
8 changed files with 103 additions and 116 deletions
|
|
@ -6,13 +6,18 @@ pub use self::jack::*;
|
|||
pub use self::render::*;
|
||||
use crate::prelude::*;
|
||||
|
||||
pub const ACTIONS: [(&'static str, &'static str);0] = [];
|
||||
pub const ACTIONS: [(&'static str, &'static str);4] = [
|
||||
("+/-", "Zoom"),
|
||||
("A/D", "Add/delete note"),
|
||||
("]/[", "Duration"),
|
||||
("CapsLock", "Auto advance"),
|
||||
];
|
||||
|
||||
pub struct Sequencer {
|
||||
exited: bool,
|
||||
jack: Jack<Notifications>,
|
||||
cursor: (u16, u16),
|
||||
duration: u16,
|
||||
cursor: (u16, u16, u16),
|
||||
sequence: Vec<()>,
|
||||
}
|
||||
|
||||
impl Sequencer {
|
||||
|
|
@ -30,10 +35,10 @@ impl Sequencer {
|
|||
)
|
||||
)?;
|
||||
Ok(Self {
|
||||
exited: false,
|
||||
cursor: (0, 0),
|
||||
duration: 0,
|
||||
exited: false,
|
||||
cursor: (0, 0, 0),
|
||||
jack,
|
||||
sequence: vec![],
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue