show sequencer with arranger

This commit is contained in:
🪞👃🪞 2024-08-18 18:43:58 +03:00
parent 964e8382d3
commit a533951fc6
10 changed files with 185 additions and 137 deletions

View file

@ -1,16 +1,18 @@
/// Display mode of arranger
pub enum ArrangerViewMode {
Vertical,
VerticalCompact,
VerticalExpanded,
VerticalCompact1,
VerticalCompact2,
Horizontal,
}
impl ArrangerViewMode {
pub fn to_next (&mut self) {
*self = match self {
Self::Vertical => Self::VerticalCompact,
Self::VerticalCompact => Self::Horizontal,
Self::Horizontal => Self::Vertical,
Self::VerticalExpanded => Self::VerticalCompact1,
Self::VerticalCompact1 => Self::VerticalCompact2,
Self::VerticalCompact2 => Self::Horizontal,
Self::Horizontal => Self::VerticalExpanded,
}
}
}