X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Faudio_streamview.h;h=53da6e9eb0fc9a17fd2f5d59abd4d4b247b1e480;hb=735d791e420c3e4944fdbc8ac7f6a26251d90d87;hp=4812903a35768b392154ccbf7b617af5d987e0f9;hpb=a2897ecef6da6a458aa1de8c2d9973a1e809dca2;p=ardour.git diff --git a/gtk2_ardour/audio_streamview.h b/gtk2_ardour/audio_streamview.h index 4812903a35..53da6e9eb0 100644 --- a/gtk2_ardour/audio_streamview.h +++ b/gtk2_ardour/audio_streamview.h @@ -26,8 +26,8 @@ #include #include "ardour/location.h" +#include "point_selection.h" #include "editing.h" -#include "simplerect.h" #include "streamview.h" namespace Gdk { @@ -35,10 +35,10 @@ namespace Gdk { } namespace ARDOUR { - class Route; - class PeakData; class AudioRegion; + class Route; class Source; + struct PeakData; } class PublicEditor; @@ -50,20 +50,21 @@ class Selection; class AudioStreamView : public StreamView { - public: +public: AudioStreamView (AudioTimeAxisView&); int set_amplitude_above_axis (gdouble app); gdouble get_amplitude_above_axis () { return _amplitude_above_axis; } - void set_show_waveforms (bool yn); - void show_all_fades (); void hide_all_fades (); + std::pair, std::list > hide_xfades_with (boost::shared_ptr ar); + RegionView* create_region_view (boost::shared_ptr, bool, bool); + void set_selected_points (PointSelection&); - private: +private: void setup_rec_box (); void rec_peak_range_ready (framepos_t start, ARDOUR::framecnt_t cnt, boost::weak_ptr src); void update_rec_regions (ARDOUR::framepos_t, ARDOUR::framecnt_t); @@ -75,10 +76,6 @@ class AudioStreamView : public StreamView void color_handler (); - void parameter_changed (std::string const &); - void set_waveform_shape (ARDOUR::WaveformShape); - void set_waveform_scale (ARDOUR::WaveformScale); - double _amplitude_above_axis; std::map, bool> rec_data_ready_map;