Move get_child_list() into TimeAxisView.
[ardour.git] / gtk2_ardour / crossfade_view.h
index 3e4021742e0a391f93135fabbd5a9430ef9f257f..db1d33fdf81163e653698942b26cf7c23ac473c6 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <vector>
 #include <libgnomecanvasmm.h>
-#include <sigc++/signal.h>
+#include "pbd/signals.h"
 #include "ardour/crossfade.h"
 
 #include "time_axis_view_item.h"
@@ -52,7 +52,7 @@ struct CrossfadeView : public TimeAxisViewItem
     bool visible() const { return _visible; }
     void set_valid (bool yn);
 
-    static sigc::signal<void,CrossfadeView*> GoingAway;
+    static PBD::Signal1<void,CrossfadeView*> CatchDeletion;
 
     AudioRegionView& upper_regionview () const;
 
@@ -67,18 +67,15 @@ struct CrossfadeView : public TimeAxisViewItem
     bool _valid;
     bool _visible;
 
-    double spu;
-    double _height;
-
-    ArdourCanvas::Item *overlap_rect;
     ArdourCanvas::Line *fade_in;
     ArdourCanvas::Line *fade_out;
     ArdourCanvas::Item *active_button;
 
-    void crossfade_changed (ARDOUR::Change);
+    void crossfade_changed (const PBD::PropertyChange&);
+    void crossfade_fades_changed ();
     void active_changed ();
-       void redraw_curves ();
-       void color_handler ();
+    void redraw_curves ();
+    void color_handler ();
 };
 
 #endif /* __gtk_ardour_crossfade_view_h__ */