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 ();
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;
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;
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();
};