summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_row_labels.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/port_matrix_row_labels.h')
-rw-r--r--gtk2_ardour/port_matrix_row_labels.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/port_matrix_row_labels.h b/gtk2_ardour/port_matrix_row_labels.h
index 74af1092c2..dd3d2a9348 100644
--- a/gtk2_ardour/port_matrix_row_labels.h
+++ b/gtk2_ardour/port_matrix_row_labels.h
@@ -37,7 +37,12 @@ namespace Gtk {
class PortMatrixRowLabels : public PortMatrixComponent
{
public:
- PortMatrixRowLabels (PortMatrix *, PortMatrixBody *);
+ enum Location {
+ LEFT,
+ RIGHT
+ };
+
+ PortMatrixRowLabels (PortMatrix *, PortMatrixBody *, Location);
~PortMatrixRowLabels ();
void button_press (double, double, int, uint32_t);
@@ -52,6 +57,7 @@ private:
uint32_t _longest_port_name;
uint32_t _longest_bundle_name;
Gtk::Menu* _menu;
+ Location _location;
};
#endif