diff options
author | Carl Hetherington <carl@carlh.net> | 2009-01-21 01:55:46 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-01-21 01:55:46 +0000 |
commit | 4476461443061703e9ef268ade72511dff3e3ae5 (patch) | |
tree | 839890c2ad535fc49904659ff531998140a5edf5 /gtk2_ardour/port_matrix_row_labels.h | |
parent | 61db2175eb8b8fffd0c1796ace78ac33c9e1adf0 (diff) |
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
Diffstat (limited to 'gtk2_ardour/port_matrix_row_labels.h')
-rw-r--r-- | gtk2_ardour/port_matrix_row_labels.h | 8 |
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 |