summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-08-13 20:19:39 +0000
committerCarl Hetherington <carl@carlh.net>2011-08-13 20:19:39 +0000
commit07a58ffd62f834780eb5dada7c1713e31c2e425a (patch)
tree64b6bcd0ea1f9249af3a6656770764bc4933d726 /gtk2_ardour/port_matrix.h
parentf75bbfd8ac52ea33692c3ee15953ceb2994117ab (diff)
Stop bundles disappearing from the port matrix when they
have no channels (#4209). Also fix the remove all channels menu option. git-svn-id: svn://localhost/ardour2/branches/3.0@9986 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix.h')
-rw-r--r--gtk2_ardour/port_matrix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/port_matrix.h b/gtk2_ardour/port_matrix.h
index 01fb67c0ae..75b2abf279 100644
--- a/gtk2_ardour/port_matrix.h
+++ b/gtk2_ardour/port_matrix.h
@@ -126,6 +126,7 @@ public:
bool should_show (ARDOUR::DataType) const;
uint32_t count_of_our_type (ARDOUR::ChanCount) const;
+ uint32_t count_of_our_type_min_1 (ARDOUR::ChanCount) const;
PortMatrixNode::State get_association (PortMatrixNode) const;
@@ -159,6 +160,8 @@ public:
sigc::signal<void, Result> Finished;
+ static bool bundle_with_channels (boost::shared_ptr<ARDOUR::Bundle>);
+
protected:
/** We have two port group lists. One will be presented on the rows of the matrix,