diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 15:26:12 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 16:33:01 -0400 |
commit | 2aeb33989e2ad46a5ac00df166cce66aed922150 (patch) | |
tree | ddeb162fd29981c3b44819de1b5b129b9f114e6a /gtk2_ardour/analysis_window.cc | |
parent | 171b70927a55e8e8081e41595830970cf7e3fad6 (diff) |
adjust color API for RouteUI to use PresentationInfo's color
Diffstat (limited to 'gtk2_ardour/analysis_window.cc')
-rw-r--r-- | gtk2_ardour/analysis_window.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<AudioRange>::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()) { |