Offer all of a bundle's ports for disconnection / removal when opening a menu over a bundle's name in the port matrix.

git-svn-id: svn://localhost/ardour2/branches/3.0@6365 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-12-14 16:44:20 +00:00
parent 383b24cc48
commit da762129f1
6 changed files with 80 additions and 24 deletions

View file

@ -47,6 +47,12 @@ namespace ARDOUR {
class Bundle;
}
namespace Gtk {
namespace Menu_Helpers {
class MenuList;
}
}
class PortMatrixBody;
class PortMatrix : public Gtk::Table
@ -177,6 +183,8 @@ private:
void route_processors_changed (ARDOUR::RouteProcessorChange);
void body_dimensions_changed ();
void session_going_away ();
void add_remove_option (Gtk::Menu_Helpers::MenuList &, boost::weak_ptr<ARDOUR::Bundle>, int);
void add_disassociate_option (Gtk::Menu_Helpers::MenuList &, boost::weak_ptr<ARDOUR::Bundle>, int, int);
Gtk::Window* _parent;