Make global static children variable an xml node object variable.
[ardour.git] / gtk2_ardour / crossfade_view.h
index adbd74b42027da577d37d5857ace317eac45fbb9..a1f6d56f8e5c888804c05310431ca7ed413b80d5 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __gtk_ardour_crossfade_view_h__
@@ -35,14 +34,15 @@ struct CrossfadeView : public TimeAxisViewItem
 {
     CrossfadeView (ArdourCanvas::Group*, 
                   RouteTimeAxisView&,
-                  ARDOUR::Crossfade&,
+                  boost::shared_ptr<ARDOUR::Crossfade>,
                   double initial_samples_per_unit, 
                   Gdk::Color& basic_color,
                   AudioRegionView& leftview,
                   AudioRegionView& rightview);
     ~CrossfadeView ();
 
-    ARDOUR::Crossfade& crossfade;  // ok, let 'em have it
+    boost::shared_ptr<ARDOUR::Crossfade> crossfade;  // ok, let 'em have it
+
     AudioRegionView& left_view;    // and these too
     AudioRegionView& right_view;
 
@@ -77,6 +77,7 @@ struct CrossfadeView : public TimeAxisViewItem
     void crossfade_changed (ARDOUR::Change);
     void active_changed ();
     void redraw_curves ();
+       void color_handler ();
 };
 
 #endif /* __gtk_ardour_crossfade_view_h__ */