Fix gmsynth detection
[ardour.git] / gtk2_ardour / port_matrix_row_labels.h
index 1610a9faa5b31137719ce3449b6a78bc870e1b6f..59a945479a00b066e1f49611d6bcc7fa347658a5 100644 (file)
@@ -27,6 +27,7 @@
 class PortMatrix;
 class PortMatrixBody;
 class PortMatrixNode;
+class PortMatrixColumnLabels;
 
 namespace ARDOUR {
        class Bundle;
@@ -41,16 +42,15 @@ namespace Gtk {
 class PortMatrixRowLabels : public PortMatrixLabels
 {
 public:
-       PortMatrixRowLabels (PortMatrix *, PortMatrixBody *);
+       PortMatrixRowLabels (PortMatrix *, PortMatrixBody *, PortMatrixColumnLabels&);
 
-       void button_press (double, double, int, uint32_t);
+       void button_press (double, double, GdkEventButton *);
 
        double component_to_parent_x (double x) const;
        double parent_to_component_x (double x) const;
        double component_to_parent_y (double y) const;
        double parent_to_component_y (double y) const;
        void mouseover_changed (std::list<PortMatrixNode> const &);
-       void draw_extra (cairo_t *);
        void motion (double, double);
 
 private:
@@ -58,7 +58,6 @@ private:
        void render_bundle_name (cairo_t *, Gdk::Color, Gdk::Color, double, double, boost::shared_ptr<ARDOUR::Bundle>);
        double channel_x (ARDOUR::BundleChannel const &) const;
        double channel_y (ARDOUR::BundleChannel const &) const;
-       virtual std::pair<boost::shared_ptr<PortGroup>, ARDOUR::BundleChannel> position_to_group_and_channel (double, double, PortGroupList const *) const;
 
        void render (cairo_t *);
        void compute_dimensions ();
@@ -70,7 +69,8 @@ private:
 
        double _longest_port_name;
        double _longest_bundle_name;
-       double _highest_group_name;
+
+       PortMatrixColumnLabels& _column_labels;
 };
 
 #endif