MixerStrip::CatchDeletion.connect (*this, invalidator (*this), boost::bind (&Mixer_UI::remove_strip, this, _1), gui_context());
VCAMasterStrip::CatchDeletion.connect (*this, invalidator (*this), boost::bind (&Mixer_UI::remove_master, this, _1), gui_context());
+ FoldbackStrip::CatchDeletion.connect (*this, invalidator (*this), boost::bind (&Mixer_UI::remove_foldback, this, _1), gui_context());
/* handle escape */
}
}
+void
+Mixer_UI::remove_foldback (FoldbackStrip* strip)
+{
+ if (_session && _session->deletion_in_progress()) {
+ /* its all being taken care of */
+ return;
+ }
+ if (foldback_strip) {
+ foldback_strip->destroy_();
+ }
+ foldback_strip = 0;
+}
+
void
Mixer_UI::presentation_info_changed (PropertyChange const & what_changed)
{
void add_routes (ARDOUR::RouteList&);
void remove_strip (MixerStrip *);
-
+ void remove_foldback (FoldbackStrip *);
void add_masters (ARDOUR::VCAList&);
void remove_master (VCAMasterStrip*);
void new_masters_created ();