13
0
livetrax/gtk2_ardour/route_group_menu.h
Carl Hetherington 7a4f1b9cf6 Factor route group menu out into its own class.
git-svn-id: svn://localhost/ardour2/branches/3.0@5292 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-29 00:38:58 +00:00

22 lines
433 B
C++

namespace ARDOUR {
class Session;
class RouteGroup;
}
class RouteGroupMenu : public Gtk::Menu
{
public:
RouteGroupMenu (ARDOUR::Session &);
void rebuild (ARDOUR::RouteGroup *);
sigc::signal<void, ARDOUR::RouteGroup*> GroupSelected;
private:
void add_item (ARDOUR::RouteGroup *, ARDOUR::RouteGroup *, Gtk::RadioMenuItem::Group*);
void new_group ();
void set_group (ARDOUR::RouteGroup *);
ARDOUR::Session& _session;
};