diff options
author | Carl Hetherington <carl@carlh.net> | 2011-09-07 11:56:23 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-09-07 11:56:23 +0000 |
commit | 932b0e9ec1d0f7fb506ccd13bf08a4efe5f91297 (patch) | |
tree | 472bc1d117ab0673946fbed601830dd8241108f3 /libs/ardour/ardour/route_group.h | |
parent | 174c0d6831573f24689b7f1f6d6256583f790da6 (diff) |
Update route colours when they are added to / removed
from groups which share colour (more of #4064).
git-svn-id: svn://localhost/ardour2/branches/3.0@10060 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/route_group.h')
-rw-r--r-- | libs/ardour/ardour/route_group.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/ardour/route_group.h b/libs/ardour/ardour/route_group.h index 1f6be864cd..22e527ff9e 100644 --- a/libs/ardour/ardour/route_group.h +++ b/libs/ardour/ardour/route_group.h @@ -123,8 +123,10 @@ class RouteGroup : public SessionObject boost::shared_ptr<RouteList> route_list() { return routes; } - /** Emitted when a route has been added to or removed from this group */ - PBD::Signal0<void> MembershipChanged; + /** Emitted when a route has been added to this group */ + PBD::Signal2<void, RouteGroup *, boost::weak_ptr<ARDOUR::Route> > RouteAdded; + /** Emitted when a route has been removed from this group */ + PBD::Signal2<void, RouteGroup *, boost::weak_ptr<ARDOUR::Route> > RouteRemoved; XMLNode& get_state (); |