diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-17 13:18:58 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-17 13:18:58 +0000 |
commit | 7eea227bcdfcd930458e7638502a4cc1194bae6d (patch) | |
tree | 10f917329a68de06155204c530d5586ffb8c873f /gtk2_ardour/port_matrix_grid.h | |
parent | 939cff515018f9a5123e90a182dec56efdd7c508 (diff) |
Use track colours in the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@5367 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_grid.h')
-rw-r--r-- | gtk2_ardour/port_matrix_grid.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/port_matrix_grid.h b/gtk2_ardour/port_matrix_grid.h index 4a05c3138d..5d2e528e60 100644 --- a/gtk2_ardour/port_matrix_grid.h +++ b/gtk2_ardour/port_matrix_grid.h @@ -26,6 +26,7 @@ #include "ardour/types.h" #include "port_matrix_component.h" #include "port_matrix_types.h" +#include "port_group.h" class PortMatrix; class PortMatrixBody; @@ -55,9 +56,9 @@ private: void compute_dimensions (); void render (cairo_t *); - double channel_position (ARDOUR::BundleChannel, ARDOUR::BundleList const &, double) const; + double channel_position (ARDOUR::BundleChannel, PortGroup::BundleList const &, double) const; PortMatrixNode position_to_node (double, double) const; - ARDOUR::BundleChannel position_to_channel (double, ARDOUR::BundleList const &, double) const; + ARDOUR::BundleChannel position_to_channel (double, PortGroup::BundleList const &, double) const; void queue_draw_for (PortMatrixNode const &); void draw_association_indicator (cairo_t *, uint32_t, uint32_t, double p = 1); void draw_unknown_indicator (cairo_t *, uint32_t, uint32_t); |