summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_column_labels.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/port_matrix_column_labels.h')
-rw-r--r--gtk2_ardour/port_matrix_column_labels.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/port_matrix_column_labels.h b/gtk2_ardour/port_matrix_column_labels.h
index f91a5be204..7ff3bc9138 100644
--- a/gtk2_ardour/port_matrix_column_labels.h
+++ b/gtk2_ardour/port_matrix_column_labels.h
@@ -44,6 +44,10 @@ public:
double parent_to_component_y (double y) const;
void mouseover_changed (PortMatrixNode const &);
+ uint32_t overhang () const {
+ return _overhang;
+ }
+
private:
void render_bundle_name (cairo_t *, Gdk::Color, double, double, boost::shared_ptr<ARDOUR::Bundle>);
void render_channel_name (cairo_t *, Gdk::Color, double, double, ARDOUR::BundleChannel const &);
@@ -60,11 +64,13 @@ private:
return _height - _highest_group_name - 2 * name_pad();
}
-// PortGroup::BundleList _bundles;
+ std::pair<boost::shared_ptr<PortGroup>, ARDOUR::BundleChannel> x_position_to_group_and_channel (double, double) const;
+
double _longest_bundle_name;
double _longest_channel_name;
double _highest_text;
double _highest_group_name;
+ uint32_t _overhang;
};
#endif