namespace ARDOUR {
class AudioRegion;
- class PeakData;
+ struct PeakData;
};
class AudioTimeAxisView;
void temporarily_hide_envelope (); ///< Dangerous!
void unhide_envelope (); ///< Dangerous!
- void set_envelope_visible (bool);
+ void update_envelope_visibility ();
void set_waveform_visible (bool yn);
void set_waveform_shape (ARDOUR::WaveformShape);
void set_waveform_scale (ARDOUR::WaveformScale);
void thaw_after_trim ();
+ void drag_start ();
+ void drag_end ();
+
+ void redraw_start_xfade_to (boost::shared_ptr<ARDOUR::AudioRegion>, framecnt_t);
+ void redraw_end_xfade_to (boost::shared_ptr<ARDOUR::AudioRegion>, framecnt_t);
+ void redraw_start_xfade ();
+ void redraw_end_xfade ();
+
+ void hide_xfades ();
+ void show_xfades ();
+
protected:
/* this constructor allows derived types
ArdourCanvas::SimpleRect* fade_out_handle; ///< fade out handle, or 0
ArdourCanvas::SimpleLine* fade_position_line;
+ ArdourCanvas::Line *start_xfade_in;
+ ArdourCanvas::Line *start_xfade_out;
+ ArdourCanvas::SimpleRect* start_xfade_rect;
+
+ ArdourCanvas::Line *end_xfade_in;
+ ArdourCanvas::Line *end_xfade_out;
+ ArdourCanvas::SimpleRect* end_xfade_rect;
+
boost::shared_ptr<AudioRegionGainLine> gain_line;
double _amplitude_above_axis;
void transients_changed();
-private:
+ AutomationLine::VisibleAspects automation_line_visibility () const;
+private:
void setup_fade_handle_positions ();
/** A ScopedConnection for each PeaksReady callback (one per channel). Each member