class PortMatrix;
class PortMatrixBody;
class PortMatrixNode;
+class PortMatrixColumnLabels;
namespace ARDOUR {
class Bundle;
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 &);
double _longest_port_name;
double _longest_bundle_name;
- double _highest_group_name;
+
+ PortMatrixColumnLabels& _column_labels;
};
#endif