diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2014-09-03 15:11:08 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2014-09-03 15:26:33 -0500 |
commit | 69ac29d3752ad18ffcac15c9579116d7e0d67670 (patch) | |
tree | 9d5d02c487cb56a793a822a9c69167d0213fd05a | |
parent | 66f60970dd35200ae373e85603b673c3072ee930 (diff) |
consolidate some slider styles, and make bg darker
-rw-r--r-- | gtk2_ardour/ardour3_styles.rc.in | 4 | ||||
-rw-r--r-- | gtk2_ardour/automation_controller.cc | 2 | ||||
-rw-r--r-- | gtk2_ardour/generic_pluginui.cc | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/ardour3_styles.rc.in b/gtk2_ardour/ardour3_styles.rc.in index 6e36565065..20bdb84356 100644 --- a/gtk2_ardour/ardour3_styles.rc.in +++ b/gtk2_ardour/ardour3_styles.rc.in @@ -868,8 +868,8 @@ style "processor_control_button" = "very_small_text" style "processor_control_slider" = "plugin_slider" { - bg[PRELIGHT] = @@COLPREFIX@_darkest - bg[NORMAL] = @@COLPREFIX@_bg + bg[PRELIGHT] = @@COLPREFIX@_bg + bg[NORMAL] = @@COLPREFIX@_darkest } style "track_list_display" = "small_bold_text" diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc index edc7311c78..3240e6b81a 100644 --- a/gtk2_ardour/automation_controller.cc +++ b/gtk2_ardour/automation_controller.cc @@ -45,7 +45,7 @@ AutomationController::AutomationController(boost::shared_ptr<Automatable> printe { assert (_printer); - set_name (X_("PluginSlider")); // FIXME: get yer own name! + set_name (X_("ProcessorControlSlider")); StartGesture.connect (sigc::mem_fun(*this, &AutomationController::start_touch)); StopGesture.connect (sigc::mem_fun(*this, &AutomationController::end_touch)); diff --git a/gtk2_ardour/generic_pluginui.cc b/gtk2_ardour/generic_pluginui.cc index ffdbfb3bf2..77431e51a3 100644 --- a/gtk2_ardour/generic_pluginui.cc +++ b/gtk2_ardour/generic_pluginui.cc @@ -643,7 +643,7 @@ GenericPluginUI::build_control_ui (guint32 port_index, boost::shared_ptr<Automat //sigc::slot<void,char*,uint32_t> pslot = sigc::bind (sigc::mem_fun(*this, &GenericPluginUI::print_parameter), (uint32_t) port_index); control_ui->controller->set_size_request (200, req.height); - control_ui->controller->set_name (X_("PluginSlider")); + control_ui->controller->set_name (X_("ProcessorControlSlider")); control_ui->controller->set_logarithmic (desc.logarithmic); control_ui->controller->StartGesture.connect (sigc::bind (sigc::mem_fun(*this, &GenericPluginUI::start_touch), control_ui)); |