Accommodate newly introduced source(s) in our MSVC project (libardour)
[ardour.git] / gtk2_ardour / analysis_window.cc
index f3d3036c73bd593834eca1bb48bdad1a8577b3fe..a1a98a8b3cc751244013f5b03e9516cb27b9836c 100644 (file)
@@ -36,7 +36,7 @@
 #include "selection.h"
 #include "audio_region_view.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace ARDOUR;
 using namespace PBD;
@@ -47,7 +47,7 @@ AnalysisWindow::AnalysisWindow()
        , source_selection_regions_rb  (_("Selected regions"))
        , show_minmax_button     (_("Show frequency power range"))
        , show_normalized_button (_("Fit dB range"))
-       , show_proportional_button (_("Proportional Spectum, -18dB"))
+       , show_proportional_button (_("Proportional Spectrum, -18dB"))
        , fft_graph (16384)
 {
        set_name(_("FFT analysis window"));
@@ -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()) {