Properly revert FormatSpec changes on "cancel"
[ardour.git] / gtk2_ardour / port_matrix_row_labels.h
index 508d45d943fbcf05c40c9d84f805fe6caf74ce71..59a945479a00b066e1f49611d6bcc7fa347658a5 100644 (file)
@@ -27,6 +27,7 @@
 class PortMatrix;
 class PortMatrixBody;
 class PortMatrixNode;
+class PortMatrixColumnLabels;
 
 namespace ARDOUR {
        class Bundle;
@@ -41,15 +42,16 @@ 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 (PortMatrixNode const &);
+       void mouseover_changed (std::list<PortMatrixNode> const &);
+       void motion (double, double);
 
 private:
        void render_channel_name (cairo_t *, Gdk::Color, Gdk::Color, double, double, ARDOUR::BundleChannel const &);
@@ -67,7 +69,8 @@ private:
 
        double _longest_port_name;
        double _longest_bundle_name;
-       double _highest_group_name;
+
+       PortMatrixColumnLabels& _column_labels;
 };
 
 #endif