diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-14 12:27:07 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-14 12:27:07 -0500 |
commit | 48a7a11974fb378483da9c4cce6e2af4d7060c5d (patch) | |
tree | 4c14576cdee385465bfbc798a5da4d94fe079219 /gtk2_ardour/automation_time_axis.cc | |
parent | 0fa5643d20fd57ce7f878e3c5e51b768ec6b98a3 (diff) |
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
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r-- | gtk2_ardour/automation_time_axis.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |