From 4476461443061703e9ef268ade72511dff3e3ae5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 21 Jan 2009 01:55:46 +0000 Subject: More logical arrangement of port matrix inputs and outputs, hopefully; signal show notionally "flow" from left to bottom or from top to right. Some layout cleanups. git-svn-id: svn://localhost/ardour2/branches/3.0@4416 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/port_matrix_row_labels.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/port_matrix_row_labels.h') 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 -- cgit v1.2.3