From 48a7a11974fb378483da9c4cce6e2af4d7060c5d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 14 Dec 2014 12:27:07 -0500 Subject: initial pass to replace all UIConfiguration::get_XXXXXX() calls with UIConfiguration::color(name). IMPORTANT: names have not been downcased and spaced yet, so many colors are not found --- gtk2_ardour/automation_time_axis.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/automation_time_axis.cc') diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index e2a0effb39..641a34dc44 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -124,7 +124,7 @@ AutomationTimeAxisView::AutomationTimeAxisView ( CANVAS_DEBUG_NAME (_base_rect, string_compose ("base rect for %1", _name)); _base_rect->set_x1 (ArdourCanvas::COORD_MAX); _base_rect->set_outline (false); - _base_rect->set_fill_color (ARDOUR_UI::config()->get_AutomationTrackFill()); + _base_rect->set_fill_color (ARDOUR_UI::config()->color ("AutomationTrackFill")); _base_rect->set_data ("trackview", this); _base_rect->Event.connect (sigc::bind (sigc::mem_fun (_editor, &PublicEditor::canvas_automation_track_event), _base_rect, this)); if (!a) { @@ -257,7 +257,7 @@ AutomationTimeAxisView::AutomationTimeAxisView ( ) ); - line->set_line_color (ARDOUR_UI::config()->get_ProcessorAutomationLine()); + line->set_line_color (ARDOUR_UI::config()->color ("ProcessorAutomationLine")); line->queue_reset (); add_line (line); } -- cgit v1.2.3