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.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/gtk2_ardour/port_matrix_column_labels.h b/gtk2_ardour/port_matrix_column_labels.h
index 3c9ff41838..76510073ec 100644
--- a/gtk2_ardour/port_matrix_column_labels.h
+++ b/gtk2_ardour/port_matrix_column_labels.h
@@ -33,17 +33,24 @@ namespace ARDOUR {
class PortMatrixColumnLabels : public PortMatrixComponent
{
public:
- PortMatrixColumnLabels (PortMatrixBody *);
+
+ enum Location {
+ TOP,
+ BOTTOM
+ };
+
+ PortMatrixColumnLabels (PortMatrixBody *, Location);
private:
void render (cairo_t *);
void compute_dimensions ();
- uint32_t basic_text_x_pos (int) const;
+ double basic_text_x_pos (int) const;
std::vector<boost::shared_ptr<ARDOUR::Bundle> > _bundles;
- uint32_t _longest_bundle_name;
- uint32_t _longest_channel_name;
- uint32_t _highest_text;
+ double _longest_bundle_name;
+ double _longest_channel_name;
+ double _highest_text;
+ Location _location;
};
#endif