Feat: demo songs
This commit is contained in:
@@ -27,6 +27,7 @@ pub enum OptionsFocus {
|
||||
MidiInput2,
|
||||
MidiInput3,
|
||||
ResetOnboarding,
|
||||
LoadDemoOnStartup,
|
||||
}
|
||||
|
||||
impl CyclicEnum for OptionsFocus {
|
||||
@@ -55,6 +56,7 @@ impl CyclicEnum for OptionsFocus {
|
||||
Self::MidiInput2,
|
||||
Self::MidiInput3,
|
||||
Self::ResetOnboarding,
|
||||
Self::LoadDemoOnStartup,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -77,6 +79,7 @@ const STANDALONE_ONLY: &[OptionsFocus] = &[
|
||||
OptionsFocus::MidiInput2,
|
||||
OptionsFocus::MidiInput3,
|
||||
OptionsFocus::ResetOnboarding,
|
||||
OptionsFocus::LoadDemoOnStartup,
|
||||
];
|
||||
|
||||
/// Section layout: header line, divider line, then option lines.
|
||||
@@ -113,6 +116,7 @@ const FULL_LAYOUT: &[(OptionsFocus, usize)] = &[
|
||||
(OptionsFocus::MidiInput3, 39),
|
||||
// blank=40, ONBOARDING header=41, divider=42
|
||||
(OptionsFocus::ResetOnboarding, 43),
|
||||
(OptionsFocus::LoadDemoOnStartup, 44),
|
||||
];
|
||||
|
||||
impl OptionsFocus {
|
||||
|
||||
Reference in New Issue
Block a user