switch toolbar actions; bold borders and titles

This commit is contained in:
🪞👃🪞 2024-05-29 13:34:36 +03:00
parent 7dd5f7f488
commit 31f8ec5362
8 changed files with 103 additions and 116 deletions

View file

@ -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![],
})
}
}