*gain_track->canvas_display,
_route->gain_automation_curve());
- line->set_line_color (color_map[cAutomationLine]);
+ line->set_line_color (ARDOUR_UI::config()->canvasvar_AutomationLine.get());
gain_track->add_line (*line);
(*p)->automation());
if (p == _route->panner().begin()) {
- /* first line is a nice orange */
- line->set_line_color (color_map[cLeftPanAutomationLine]);
+ line->set_line_color (ARDOUR_UI::config()->canvasvar_AutomationLine.get());
} else {
- /* second line is a nice blue */
- line->set_line_color (color_map[cRightPanAutomationLine]);
+ line->set_line_color (ARDOUR_UI::config()->canvasvar_AutomationLine.get());
}
pan_track->add_line (*line);
void
AudioTimeAxisView::toggle_gain_track ()
{
-
bool showit = gain_automation_item->get_active();
if (showit != gain_track->marked_for_display()) {