Add option to use plugin GUIs or Ardour generic ones.
git-svn-id: svn://localhost/ardour2/branches/3.0@11298 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -1025,7 +1025,11 @@ ProcessorBox::processor_button_press_event (GdkEventButton *ev, ProcessorEntry*
|
||||
|
||||
if (_session->engine().connected()) {
|
||||
/* XXX giving an error message here is hard, because we may be in the midst of a button press */
|
||||
toggle_edit_processor (processor);
|
||||
if (Config->get_use_plugin_own_gui ()) {
|
||||
toggle_edit_processor (processor);
|
||||
} else {
|
||||
toggle_edit_generic_processor (processor);
|
||||
}
|
||||
}
|
||||
ret = true;
|
||||
|
||||
|
||||
@@ -1521,7 +1521,7 @@ RCOptionEditor::RCOptionEditor ()
|
||||
|
||||
add_option (S_("Visual|Interface"),
|
||||
new BoolOption (
|
||||
"widget_prelight",
|
||||
"widget-prelight",
|
||||
_("Graphically indicate mouse pointer hovering over various widgets"),
|
||||
sigc::mem_fun (*_rc_config, &RCConfiguration::get_widget_prelight),
|
||||
sigc::mem_fun (*_rc_config, &RCConfiguration::set_widget_prelight)
|
||||
@@ -1531,6 +1531,13 @@ RCOptionEditor::RCOptionEditor ()
|
||||
/* font scaling does nothing with GDK/Quartz */
|
||||
add_option (S_("Visual|Interface"), new FontScalingOptions (_rc_config));
|
||||
#endif
|
||||
add_option (S_("Visual|Interface"),
|
||||
new BoolOption (
|
||||
"use-own-plugin-gui",
|
||||
_("Use plugins' own interface instead of Ardour's basic one"),
|
||||
sigc::mem_fun (*_rc_config, &RCConfiguration::get_use_plugin_own_gui),
|
||||
sigc::mem_fun (*_rc_config, &RCConfiguration::set_use_plugin_own_gui)
|
||||
));
|
||||
|
||||
/* The names of these controls must be the same as those given in MixerStrip
|
||||
for the actual widgets being controlled.
|
||||
|
||||
@@ -171,6 +171,7 @@ CONFIG_VARIABLE (gain_t, max_gain, "max-gain", 2.0) /* +6.0dB */
|
||||
CONFIG_VARIABLE (bool, update_editor_during_summary_drag, "update-editor-during-summary-drag", true)
|
||||
CONFIG_VARIABLE (bool, never_display_periodic_midi, "never-display-periodic-midi", true)
|
||||
CONFIG_VARIABLE (bool, sound_midi_notes, "sound-midi-notes", false)
|
||||
CONFIG_VARIABLE (bool, use_plugin_own_gui, "use-plugin-own-gui", true)
|
||||
|
||||
/* denormal management */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user