summaryrefslogtreecommitdiff
path: root/gtk2_ardour/global_port_matrix.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-05-03 14:31:42 +0000
committerCarl Hetherington <carl@carlh.net>2009-05-03 14:31:42 +0000
commit1ae39840b3e7b1740b44e5889983e93d837f8e90 (patch)
tree3d0e33c90ae040fff6f4b30250d0a22d0ce2c0c8 /gtk2_ardour/global_port_matrix.h
parent7e48118bf16702dc174875510b935f37290d56a7 (diff)
Support for the port matrix working at the bundle level and hiding details of ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@5029 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/global_port_matrix.h')
-rw-r--r--gtk2_ardour/global_port_matrix.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/global_port_matrix.h b/gtk2_ardour/global_port_matrix.h
index 5a00ed4c75..98b898f8aa 100644
--- a/gtk2_ardour/global_port_matrix.h
+++ b/gtk2_ardour/global_port_matrix.h
@@ -33,7 +33,7 @@ public:
void setup_ports (int);
void set_state (ARDOUR::BundleChannel c[2], bool);
- State get_state (ARDOUR::BundleChannel c[2]) const;
+ PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const;
void add_channel (boost::shared_ptr<ARDOUR::Bundle>) {}
bool can_remove_channels (int d) const {
@@ -63,8 +63,11 @@ public:
GlobalPortMatrixWindow (ARDOUR::Session&, ARDOUR::DataType);
private:
+ void show_ports_toggled ();
+
GlobalPortMatrix _port_matrix;
Gtk::Button _rescan_button;
+ Gtk::CheckButton _show_ports_button;
};