This commit is contained in:
2026-01-19 14:42:14 +01:00
parent 9938b356cd
commit 2900f84b7d
17 changed files with 20059 additions and 12 deletions

22
seq/src/page.rs Normal file
View File

@@ -0,0 +1,22 @@
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)]
pub enum Page {
#[default]
Main,
Audio,
}
impl Page {
pub fn left(&mut self) {
*self = match self {
Page::Main => Page::Audio,
Page::Audio => Page::Audio,
}
}
pub fn right(&mut self) {
*self = match self {
Page::Main => Page::Main,
Page::Audio => Page::Main,
}
}
}