Write some amount of documentation

This commit is contained in:
2026-01-31 01:46:18 +01:00
parent 4772b02f77
commit 4f9b1f39f9
57 changed files with 2096 additions and 198 deletions

View File

@@ -26,16 +26,16 @@ impl Page {
/// Grid position (col, row) for each page
/// Layout:
/// col 0 col 1 col 2
/// row 0 Options Patterns Help
/// row 1 Dict Sequencer Engine
/// row 0 Dict Patterns Options
/// row 1 Help Sequencer Engine
pub const fn grid_pos(self) -> (i8, i8) {
match self {
Page::Options => (0, 0),
Page::Dict => (0, 1),
Page::Main => (1, 1),
Page::Dict => (0, 0),
Page::Help => (0, 1),
Page::Patterns => (1, 0),
Page::Main => (1, 1),
Page::Options => (2, 0),
Page::Engine => (2, 1),
Page::Help => (2, 0),
}
}