add UI option to control region cue mark visibility
This commit is contained in:
parent
56857302f4
commit
297760885c
@ -2950,6 +2950,14 @@ These settings will only take effect after %1 is restarted.\n\
|
||||
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_show_region_xrun_markers)
|
||||
));
|
||||
|
||||
add_option (_("Editor"),
|
||||
new BoolOption (
|
||||
"show-region-cue-markers",
|
||||
_("Show cue markers in regions"),
|
||||
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_show_region_cue_markers),
|
||||
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_show_region_cue_markers)
|
||||
));
|
||||
|
||||
add_option (_("Editor"),
|
||||
new BoolComboOption (
|
||||
"show-region-gain-envelopes",
|
||||
|
@ -524,7 +524,7 @@ RegionView::update_xrun_markers ()
|
||||
void
|
||||
RegionView::update_cue_markers ()
|
||||
{
|
||||
const bool show_cue_markers = UIConfiguration::instance().get_show_region_xrun_markers();
|
||||
const bool show_cue_markers = UIConfiguration::instance().get_show_region_cue_markers();
|
||||
if (_cue_markers_visible == show_cue_markers && !_cue_markers_visible) {
|
||||
return;
|
||||
}
|
||||
|
@ -72,6 +72,7 @@ UI_CONFIG_VARIABLE (std::string, mixer_strip_visibility, "mixer-element-visibili
|
||||
UI_CONFIG_VARIABLE (bool, allow_non_quarter_pulse, "allow-non-quarter-pulse", false)
|
||||
UI_CONFIG_VARIABLE (bool, show_region_gain, "show-region-gain", false)
|
||||
UI_CONFIG_VARIABLE (bool, show_region_xrun_markers, "show-region-xrun-markers", true)
|
||||
UI_CONFIG_VARIABLE (bool, show_region_cue_markers, "show-region-cue-markers", true)
|
||||
UI_CONFIG_VARIABLE (bool, show_name_highlight, "show-name-highlight", false)
|
||||
UI_CONFIG_VARIABLE (ARDOUR::ClockDeltaMode, primary_clock_delta_mode, "primary-clock-delta-mode", NoDelta)
|
||||
UI_CONFIG_VARIABLE (ARDOUR::ClockDeltaMode, secondary_clock_delta_mode, "secondary-clock-delta-mode", NoDelta)
|
||||
|
Loading…
Reference in New Issue
Block a user