Put the sidechain ports into a dedicated tab in PortMatrix
[ardour.git] / gtk2_ardour / port_matrix_column_labels.cc
index 4cf12b58b3fce1c89f4d7fc3ccc6ca1825c467ee..372e6fe7c5e8de78da36167fba923d550365df34 100644 (file)
@@ -20,7 +20,7 @@
 #include <iostream>
 #include "gtkmm2ext/keyboard.h"
 #include "ardour/bundle.h"
-#include "canvas/colors.h"
+#include "gtkmm2ext/colors.h"
 #include "utils.h"
 #include "port_matrix_column_labels.h"
 #include "port_matrix.h"
@@ -294,7 +294,7 @@ PortMatrixColumnLabels::render_bundle_name (
        cairo_stroke (cr);
 
        Gdk::Color textcolor;
-       ARDOUR_UI_UTILS::set_color_from_rgba(textcolor, ArdourCanvas::contrasting_text_color(ARDOUR_UI_UTILS::gdk_color_to_rgba(bg_colour)));
+       ARDOUR_UI_UTILS::set_color_from_rgba(textcolor, Gtkmm2ext::contrasting_text_color(ARDOUR_UI_UTILS::gdk_color_to_rgba(bg_colour)));
        set_source_rgb (cr, textcolor);
 
        double const q = ((grid_spacing() * sin (angle())) - _text_height) / 2 + _descender_height;
@@ -348,7 +348,7 @@ PortMatrixColumnLabels::render_channel_name (
        cairo_stroke (cr);
 
        Gdk::Color textcolor;
-       ARDOUR_UI_UTILS::set_color_from_rgba(textcolor, ArdourCanvas::contrasting_text_color(ARDOUR_UI_UTILS::gdk_color_to_rgba(bg_colour)));
+       ARDOUR_UI_UTILS::set_color_from_rgba(textcolor, Gtkmm2ext::contrasting_text_color(ARDOUR_UI_UTILS::gdk_color_to_rgba(bg_colour)));
        set_source_rgb (cr, textcolor);
 
        double const q = ((grid_spacing() * sin (angle())) - _text_height) / 2 + _descender_height;