more panner tweaking
[ardour.git] / gtk2_ardour / crossfade_edit.h
index 04d58369090490003e53059ceb335f9430ac294a..ad0661c0369b27c37a0ced0c386509483c6e5057 100644 (file)
@@ -43,9 +43,9 @@ class CrossfadeEditor : public ArdourDialog
     };
 
     struct Preset : public list<PresetPoint> {
-       const gchar** xpm;
+       string xpm;
        
-       Preset (const gchar** x)
+       Preset (string x)
                : xpm (x) {}
     };
 
@@ -162,8 +162,8 @@ class CrossfadeEditor : public ArdourDialog
 
     sigc::connection peaks_ready_connection;
 
-    void make_waves (ARDOUR::AudioRegion&, WhichFade);
-    void peaks_ready (ARDOUR::AudioRegion* r, WhichFade);
+    void make_waves (boost::shared_ptr<ARDOUR::AudioRegion>, WhichFade);
+    void peaks_ready (boost::shared_ptr<ARDOUR::AudioRegion> r, WhichFade);
     
     void _apply_to (ARDOUR::Crossfade* xf);
     void setup (ARDOUR::Crossfade*);