provide a (visible) UI preferences option for no-strobe
This commit is contained in:
parent
863ad01a90
commit
cc5bd6c63a
@ -13,6 +13,7 @@ UIConfiguration::build_metadata ()
|
||||
VAR_META (X_("autoscroll-editor"), _("scroll"), _("editor"), NULL);
|
||||
VAR_META (X_("blink-alert-indicators"), _("blink"), _("alert"), _("indicators"), NULL);
|
||||
VAR_META (X_("blink-rec-arm"), _("appearance"), _("blink"), _("record"), _("rec"), _("enable"), _("rec-enable"), _("record-enable"), NULL);
|
||||
VAR_META (X_("no-strobe"), _("appearance"), _("blink"), _("flash"), _("strobe"), NULL);
|
||||
VAR_META (X_("boxy-buttons"), _("appearance"), _("style"), _("boxy"), _("buttons"), _("theme"), NULL);
|
||||
VAR_META (X_("buggy-gradients"), _("appearance"), _("bugs"), _("tweaks"), _("kwirks"), NULL);
|
||||
VAR_META (X_("check-announcements"), _("check"), _("announcements"), _("phone"), _("home"), NULL);
|
||||
|
@ -2607,6 +2607,16 @@ RCOptionEditor::RCOptionEditor ()
|
||||
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_blink_alert_indicators)
|
||||
));
|
||||
|
||||
BoolOption* strobe = new BoolOption (
|
||||
"no-strobe",
|
||||
_("Avoid strobing/blinking/flashing elements"),
|
||||
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_no_strobe),
|
||||
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_no_strobe)
|
||||
);
|
||||
|
||||
Gtkmm2ext::UI::instance()->set_tip (strobe->tip_widget(), _("If enabled, disables meters in editor & mixer, running clock updates and most blinking"));
|
||||
add_option (_("Appearance"), strobe);
|
||||
|
||||
add_option (_("Appearance/Recorder"), new OptionEditorHeading (_("Input Meter Layout")));
|
||||
|
||||
ComboOption<InputMeterLayout>* iml = new ComboOption<InputMeterLayout> (
|
||||
|
@ -163,3 +163,4 @@ UI_CONFIG_VARIABLE (bool, show_on_cue_page, "show-on-cue-page", true)
|
||||
UI_CONFIG_VARIABLE (uint32_t, insert_at_position, "insert-at-position", 3)
|
||||
UI_CONFIG_VARIABLE (Editing::NoteNameDisplay, note_name_display, "note-name-display", Editing::Always)
|
||||
UI_CONFIG_VARIABLE (bool, scroll_velocity_editing, "scroll-velocity-editing", true)
|
||||
UI_CONFIG_VARIABLE (bool, no_strobe, "no-strobe", false)
|
||||
|
Loading…
Reference in New Issue
Block a user