mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Rework port matrix to use Gtk notebook tabs to select visible groups.
git-svn-id: svn://localhost/ardour2/branches/3.0@6117 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ef92349187
commit
73a0cd56f8
16 changed files with 407 additions and 602 deletions
|
|
@ -60,15 +60,6 @@ public:
|
|||
|
||||
std::string name; ///< name for the group
|
||||
|
||||
bool visible () const {
|
||||
return _visible;
|
||||
}
|
||||
|
||||
void set_visible (bool v) {
|
||||
_visible = v;
|
||||
Changed ();
|
||||
}
|
||||
|
||||
bool has_port (std::string const &) const;
|
||||
|
||||
sigc::signal<void> Changed;
|
||||
|
|
@ -95,7 +86,6 @@ private:
|
|||
void add_bundle_internal (boost::shared_ptr<ARDOUR::Bundle>, boost::shared_ptr<ARDOUR::IO>, bool, Gdk::Color, bool);
|
||||
|
||||
BundleList _bundles;
|
||||
bool _visible; ///< true if the group is visible in the UI
|
||||
};
|
||||
|
||||
/// A list of PortGroups
|
||||
|
|
@ -107,12 +97,13 @@ class PortGroupList : public sigc::trackable
|
|||
typedef std::vector<boost::shared_ptr<PortGroup> > List;
|
||||
|
||||
void add_group (boost::shared_ptr<PortGroup>);
|
||||
void add_group_if_not_empty (boost::shared_ptr<PortGroup>);
|
||||
void set_type (ARDOUR::DataType);
|
||||
void gather (ARDOUR::Session &, bool, bool);
|
||||
PortGroup::BundleList const & bundles () const;
|
||||
void clear ();
|
||||
void remove_bundle (boost::shared_ptr<ARDOUR::Bundle>);
|
||||
uint32_t total_visible_channels () const;
|
||||
uint32_t total_channels () const;
|
||||
uint32_t size () const {
|
||||
return _groups.size();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue