13
0

File [MIDI] display preference under Appearance

This commit is contained in:
Robin Gareus 2017-01-04 14:17:18 +01:00
parent 4a56b92b13
commit 9bbcc0e5d9

View File

@ -2751,24 +2751,6 @@ RCOptionEditor::RCOptionEditor ()
-1, 65536, 1, 10
));
add_option (_("MIDI"), new OptionEditorHeading (_("Display")));
add_option (_("MIDI"),
new BoolOption (
"display-first-midi-bank-as-zero",
_("Display first MIDI bank/program as 0"),
sigc::mem_fun (*_rc_config, &RCConfiguration::get_first_midi_bank_is_zero),
sigc::mem_fun (*_rc_config, &RCConfiguration::set_first_midi_bank_is_zero)
));
add_option (_("MIDI"),
new BoolOption (
"never-display-periodic-midi",
_("Don't display periodic (MTC, MMC) SysEx messages in MIDI Regions"),
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_never_display_periodic_midi),
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_never_display_periodic_midi)
));
add_option (_("MIDI"), new OptionEditorHeading (_("Audition")));
add_option (_("MIDI"),
@ -3644,6 +3626,24 @@ RCOptionEditor::RCOptionEditor ()
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_editor_stereo_only_meters)
));
add_option (_("Appearance/Editor"), new OptionEditorHeading (_("MIDI Regions")));
add_option (_("Appearance/Editor"),
new BoolOption (
"display-first-midi-bank-as-zero",
_("Display first MIDI bank/program as 0"),
sigc::mem_fun (*_rc_config, &RCConfiguration::get_first_midi_bank_is_zero),
sigc::mem_fun (*_rc_config, &RCConfiguration::set_first_midi_bank_is_zero)
));
add_option (_("Appearance/Editor"),
new BoolOption (
"never-display-periodic-midi",
_("Don't display periodic (MTC, MMC) SysEx messages in MIDI Regions"),
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_never_display_periodic_midi),
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_never_display_periodic_midi)
));
add_option (_("Appearance/Editor"), new OptionEditorBlank ());
/* The names of these controls must be the same as those given in MixerStrip