Feat: bank / pattern import / export feature + documentation

This commit is contained in:
2026-02-26 00:20:46 +01:00
parent 6dd265067f
commit 71bd09d5ea
15 changed files with 412 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ pub enum ConfirmAction {
ResetBank { bank: usize },
ResetPatterns { bank: usize, patterns: Vec<usize> },
ResetBanks { banks: Vec<usize> },
ImportBank { bank: usize },
}
impl ConfirmAction {
@@ -26,6 +27,7 @@ impl ConfirmAction {
Self::ResetBank { bank } => format!("Reset bank {}?", bank + 1),
Self::ResetPatterns { patterns, .. } => format!("Reset {} patterns?", patterns.len()),
Self::ResetBanks { banks } => format!("Reset {} banks?", banks.len()),
Self::ImportBank { bank } => format!("Import bank from clipboard? (replaces bank {:02})", bank + 1),
}
}
}