mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Clean up handling of add/remove/rename channels in the port matrix. Hence make it possible to do these things for any bundle (give or take). Clean up port matrix context menu.
git-svn-id: svn://localhost/ardour2/branches/3.0@5393 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
de58b257ae
commit
23f86529fd
11 changed files with 285 additions and 193 deletions
|
|
@ -36,17 +36,13 @@ public:
|
|||
void set_state (ARDOUR::BundleChannel c[2], bool);
|
||||
PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const;
|
||||
|
||||
bool can_remove_channels (int d) const {
|
||||
return false;
|
||||
}
|
||||
void remove_channel (ARDOUR::BundleChannel) {}
|
||||
bool can_rename_channels (int d) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string disassociation_verb () const {
|
||||
return _("Disconnect");
|
||||
}
|
||||
|
||||
std::string channel_noun () const {
|
||||
return _("port");
|
||||
}
|
||||
|
||||
bool list_is_global (int) const {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue