summaryrefslogtreecommitdiff
path: root/gtk2_ardour/io_selector.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2007-10-13 17:45:44 +0000
committerCarl Hetherington <carl@carlh.net>2007-10-13 17:45:44 +0000
commitbcfb7511408d27289cd0d50d1ab335f28e0ed5d1 (patch)
tree6534c826d39b6bafd29b5a1c3195f0fce58985ba /gtk2_ardour/io_selector.h
parentb3b5515cf93300644885224416a065ca98eb1315 (diff)
Fix some bugs with visiblity of groups.
git-svn-id: svn://localhost/ardour2/trunk@2553 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/io_selector.h')
-rw-r--r--gtk2_ardour/io_selector.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/io_selector.h b/gtk2_ardour/io_selector.h
index e93b5cb1c9..92c3af9b48 100644
--- a/gtk2_ardour/io_selector.h
+++ b/gtk2_ardour/io_selector.h
@@ -70,7 +70,7 @@ class PortGroupTable
};
/// A list of PortGroups
-class PortGroupList : public std::list<PortGroup>
+class PortGroupList : public std::list<PortGroup*>
{
public:
PortGroupList (ARDOUR::Session &, boost::shared_ptr<ARDOUR::IO>, bool);
@@ -83,6 +83,11 @@ class PortGroupList : public std::list<PortGroup>
ARDOUR::Session& _session;
boost::shared_ptr<ARDOUR::IO> _io;
bool _for_input;
+
+ PortGroup buss;
+ PortGroup track;
+ PortGroup system;
+ PortGroup other;
};
@@ -145,6 +150,7 @@ class IOSelector : public Gtk::VBox {
void add_port ();
void remove_port (int);
void group_visible_toggled (Gtk::CheckButton*, std::string const &);
+ void set_port_group_table_visibility ();
PortGroupList _port_group_list;
boost::shared_ptr<ARDOUR::IO> _io;