remove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI::config()

This commit is contained in:
Paul Davis 2014-10-21 22:55:08 -04:00
parent 90df6f3fe6
commit ba4d1cd1c1
39 changed files with 474 additions and 474 deletions

View file

@ -45,8 +45,8 @@ ControlPoint::ControlPoint (AutomationLine& al)
_item = new ArdourCanvas::Rectangle (&_line.canvas_group());
_item->set_fill (true);
_item->set_fill_color (ARDOUR_UI::config()->get_canvasvar_ControlPointFill());
_item->set_outline_color (ARDOUR_UI::config()->get_canvasvar_ControlPointOutline());
_item->set_fill_color (ARDOUR_UI::config()->get_ControlPointFill());
_item->set_outline_color (ARDOUR_UI::config()->get_ControlPointOutline());
_item->set_data ("control_point", this);
_item->Event.connect (sigc::mem_fun (this, &ControlPoint::event_handler));
@ -70,7 +70,7 @@ ControlPoint::ControlPoint (const ControlPoint& other, bool /*dummy_arg_to_force
_item = new ArdourCanvas::Rectangle (&_line.canvas_group());
_item->set_fill (true);
_item->set_outline_color (ARDOUR_UI::config()->get_canvasvar_ControlPointOutline());
_item->set_outline_color (ARDOUR_UI::config()->get_ControlPointOutline());
/* NOTE: no event handling in copied ControlPoints */
@ -122,13 +122,13 @@ ControlPoint::set_color ()
uint32_t color = 0;
if (_selected) {
color = ARDOUR_UI::config()->get_canvasvar_ControlPointSelected();
color = ARDOUR_UI::config()->get_ControlPointSelected();
} else {
color = ARDOUR_UI::config()->get_canvasvar_ControlPointOutline();
color = ARDOUR_UI::config()->get_ControlPointOutline();
}
_item->set_outline_color (color);
_item->set_fill_color (ARDOUR_UI::config()->get_canvasvar_ControlPointFill());
_item->set_fill_color (ARDOUR_UI::config()->get_ControlPointFill());
}
void