13
0

consolidate some slider styles, and make bg darker

This commit is contained in:
Ben Loftis 2014-09-03 15:11:08 -05:00
parent 66f60970dd
commit 69ac29d375
3 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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));

View File

@ -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));