diff options
author | Carl Hetherington <carl@carlh.net> | 2009-01-30 15:08:09 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-01-30 15:08:09 +0000 |
commit | a384dab13095f3d909e52eff9e6170ae55416601 (patch) | |
tree | c8af98d36927095909f54d3e8e8819af4c98b184 /gtk2_ardour/port_matrix_component.h | |
parent | 24aab941eb4d77e5bdf3933b11f8ce5659872b52 (diff) |
More port matrix re-working. Global matrix now has separate visibility buttons
for ins and outs. The matrix will now be arranged so that more ports are labelled
horizontally than vertically, to aid readability.
git-svn-id: svn://localhost/ardour2/branches/3.0@4467 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_component.h')
-rw-r--r-- | gtk2_ardour/port_matrix_component.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/port_matrix_component.h b/gtk2_ardour/port_matrix_component.h index 7531e44bdd..39ea6b3c0d 100644 --- a/gtk2_ardour/port_matrix_component.h +++ b/gtk2_ardour/port_matrix_component.h @@ -22,6 +22,7 @@ #include <gtkmm/eventbox.h> +class PortMatrix; class PortMatrixBody; class PortMatrixNode; @@ -31,7 +32,7 @@ class PortMatrixNode; class PortMatrixComponent { public: - PortMatrixComponent (PortMatrixBody *); + PortMatrixComponent (PortMatrix *, PortMatrixBody *); virtual ~PortMatrixComponent (); virtual double component_to_parent_x (double x) const = 0; @@ -174,6 +175,7 @@ protected: */ virtual void compute_dimensions () = 0; + PortMatrix* _matrix; PortMatrixBody* _body; ///< the PortMatrixBody that we're in uint32_t _width; ///< full width of the contents uint32_t _height; ///< full height of the contents |