From 34d19ce8792cd2ad7012bc4d74c5012f697d87f0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 28 May 2015 11:46:01 -0400 Subject: [PATCH] add control for buggy gradient option --- gtk2_ardour/rc_option_editor.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index d9a71a783e..9efd73ed28 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -2644,6 +2644,16 @@ RCOptionEditor::RCOptionEditor () /* INTERFACE */ + BoolOption* bgo = new BoolOption ( + "buggy-gradients", + _("Possibly improve slow graphical performance"), + sigc::mem_fun (*_ui_config, &UIConfiguration::get_buggy_gradients), + sigc::mem_fun (*_ui_config, &UIConfiguration::set_buggy_gradients) + ); + + Gtkmm2ext::UI::instance()->set_tip (bgo->tip_widget(), string_compose (_("This requires restarting %1 before having an effect"), PROGRAM_NAME)); + add_option (S_("Preferences|GUI"), bgo); + add_option (S_("Preferences|GUI"), new BoolOption ( "widget-prelight", -- 2.30.2