Don't invalidate AU preset on load
[ardour.git] / gtk2_ardour / crossfade_edit.h
index 8e582baa524b1fa152290513de6558c6c79bef63..f18b26ae8ad30262de231af77c94a0f469d30d05 100644 (file)
@@ -44,12 +44,15 @@ namespace ArdourCanvas {
        class Rectangle;
        class Line;
        class Polygon;
+}
+
+namespace ArdourWaveview {
        class WaveView;
 }
 
 class CrossfadeEditor : public ArdourDialog
 {
-  public:
+public:
        CrossfadeEditor (ARDOUR::Session*, boost::shared_ptr<ARDOUR::Crossfade>, double miny, double maxy);
        ~CrossfadeEditor ();
 
@@ -57,8 +60,7 @@ class CrossfadeEditor : public ArdourDialog
 
        static const double canvas_border;
 
-       /* these are public so that a caller/subclass can make them do the right thing.
-        */
+       /* these are public so that a caller/subclass can make them do the right thing. */
 
        Gtk::Button* cancel_button;
        Gtk::Button* ok_button;
@@ -83,11 +85,11 @@ class CrossfadeEditor : public ArdourDialog
        static Presets* fade_in_presets;
        static Presets* fade_out_presets;
 
-  protected:
+protected:
        bool on_key_press_event (GdkEventKey*);
        bool on_key_release_event (GdkEventKey*);
 
-  private:
+private:
        boost::shared_ptr<ARDOUR::Crossfade> xfade;
 
        Gtk::VBox vpacker;
@@ -120,7 +122,7 @@ class CrossfadeEditor : public ArdourDialog
                std::list<Point*>       points;
                ARDOUR::AutomationList  normative_curve; /* 0 - 1.0, linear */
                ARDOUR::AutomationList  gain_curve;      /* 0 - 2.0, gain mapping */
-               std::vector<ArdourCanvas::WaveView*>  waves;
+               std::vector<ArdourWaveView::WaveView*>  waves;
 
                Half();
        };