From 2aeb33989e2ad46a5ac00df166cce66aed922150 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 5 Jun 2016 15:26:12 -0400 Subject: adjust color API for RouteUI to use PresentationInfo's color --- gtk2_ardour/analysis_window.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/analysis_window.cc') diff --git a/gtk2_ardour/analysis_window.cc b/gtk2_ardour/analysis_window.cc index f3d3036c73..cfacf57990 100644 --- a/gtk2_ardour/analysis_window.cc +++ b/gtk2_ardour/analysis_window.cc @@ -255,7 +255,7 @@ AnalysisWindow::analyze_data (Gtk::Button * /*button*/) // std::cerr << "Analyzing ranges on track " << rui->route()->name() << std::endl; - FFTResult *res = fft_graph.prepareResult(rui->color(), rui->route()->name()); + FFTResult *res = fft_graph.prepareResult(rui->route_color(), rui->route()->name()); for (std::list::iterator j = ts.begin(); j != ts.end(); ++j) { int n; @@ -290,7 +290,7 @@ AnalysisWindow::analyze_data (Gtk::Button * /*button*/) Gtk::TreeModel::Row newrow = *(tlmodel)->append(); newrow[tlcols.trackname] = rui->route()->name(); newrow[tlcols.visible] = true; - newrow[tlcols.color] = rui->color(); + newrow[tlcols.color] = rui->route_color (); newrow[tlcols.graph] = res; } } else if (source_selection_regions_rb.get_active()) { -- cgit v1.2.3