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
This commit is contained in:
Carl Hetherington 2009-01-30 15:08:09 +00:00
parent 24aab941eb
commit a384dab130
23 changed files with 843 additions and 726 deletions

View file

@ -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