Provide dialogs to edit pan values numerically, at least for
[ardour.git] / libs / ardour / route_group.cc
index d8acefbeeddaa09b3d71ff69433114d6607bc550..cb00df724a6f65a2dc3fe7e61f737bb4a7860c15 100644 (file)
 
 #include <algorithm>
 
-
 #include "pbd/error.h"
 #include "pbd/enumwriter.h"
 #include "pbd/strsplit.h"
 
 #include "ardour/amp.h"
-#include "ardour/debug.h"
-#include "ardour/route_group.h"
 #include "ardour/audio_track.h"
-#include "ardour/audio_diskstream.h"
-#include "ardour/configuration.h"
+#include "ardour/route.h"
+#include "ardour/route_group.h"
 #include "ardour/session.h"
 
 #include "i18n.h"
@@ -312,6 +309,7 @@ RouteGroup::set_gain (bool yn)
                return;
        }
        _gain = yn;
+       send_change (PropertyChange (Properties::gain));
 }
 
 void
@@ -321,6 +319,7 @@ RouteGroup::set_mute (bool yn)
                return;
        }
        _mute = yn;
+       send_change (PropertyChange (Properties::mute));
 }
 
 void
@@ -330,6 +329,7 @@ RouteGroup::set_solo (bool yn)
                return;
        }
        _solo = yn;
+       send_change (PropertyChange (Properties::solo));
 }
 
 void
@@ -339,6 +339,7 @@ RouteGroup::set_recenable (bool yn)
                return;
        }
        _recenable = yn;
+       send_change (PropertyChange (Properties::recenable));
 }
 
 void
@@ -348,6 +349,7 @@ RouteGroup::set_select (bool yn)
                return;
        }
        _select = yn;
+       send_change (PropertyChange (Properties::select));
 }
 
 void
@@ -357,6 +359,7 @@ RouteGroup::set_edit (bool yn)
                return;
        }
        _edit = yn;
+       send_change (PropertyChange (Properties::edit));
 }
 
 void
@@ -366,6 +369,7 @@ RouteGroup::set_route_active (bool yn)
                return;
        }
        _route_active = yn;
+       send_change (PropertyChange (Properties::route_active));
 }
 
 void
@@ -376,6 +380,8 @@ RouteGroup::set_color (bool yn)
        }
        _color = yn;
 
+       send_change (PropertyChange (Properties::color));
+
        /* This is a bit of a hack, but this might change
           our route's effective color, so emit gui_changed
           for our routes.
@@ -408,7 +414,6 @@ RouteGroup::set_active (bool yn, void* /*src*/)
 
        _active = yn;
        send_change (PropertyChange (Properties::active));
-
        _session.set_dirty ();
 }
 
@@ -419,6 +424,7 @@ RouteGroup::set_relative (bool yn, void* /*src*/)
                return;
        }
        _relative = yn;
+       send_change (PropertyChange (Properties::relative));
        _session.set_dirty ();
 }