32 #include <sigc++/signal.h>
58 const std::shared_ptr<ARDOUR::Region>&
region,
61 bool automation =
false);
70 virtual void init (
bool what_changed);
82 void move (
double xdelta,
double ydelta);
150 return a->
region()->position() < b->
region()->position();
170 const std::shared_ptr<ARDOUR::Region>&,
172 uint32_t basic_color,
bool display_enabled() const
std::list< ArdourCanvas::Rectangle * > _silent_frames
void drop_cue_marker(ArdourMarker *)
void update_cue_markers()
void set_silent_frames(const ARDOUR::AudioIntervalResult &, double threshold)
virtual void set_selected(bool yn)
virtual void color_handler()
void remove_ghost_in(TimeAxisView &)
std::vector< ControlPoint * > control_points
virtual void tempo_map_changed()
virtual void parameter_changed(std::string const &)
void region_sync_changed()
virtual void set_height(double)
double current_visible_sync_position
static PBD::Signal< void(RegionView *)> RegionViewGoingAway
std::list< ViewCueMarker * > ViewCueMarkers
RegionView(ArdourCanvas::Container *, TimeAxisView &, const std::shared_ptr< ARDOUR::Region > &, double samples_per_pixel, uint32_t basic_color, bool recording, TimeAxisViewItem::Visibility)
std::shared_ptr< ARDOUR::Region > _region
virtual void set_colors()
void maybe_raise_cue_markers()
bool canvas_group_event(GdkEvent *)
std::list< ArdourCanvas::Rectangle * > _coverage_frame
bool set_position(Temporal::timepos_t const &pos, void *src, double *delta=0)
Temporal::timecnt_t snap_region_time_to_region_time(Temporal::timecnt_t const &, bool ensure_snap=false) const
void enable_display(bool view_only)
virtual void region_muted()
std::shared_ptr< ARDOUR::Region > region() const
void update_xrun_markers()
ViewCueMarkers _cue_markers
void move_contents(Temporal::timecnt_t const &)
virtual void thaw_after_trim()
void show_region_editor()
virtual void set_sync_mark_color()
bool trim_end(Temporal::timepos_t const &, bool)
RegionView(ArdourCanvas::Container *parent, TimeAxisView &time_view, const std::shared_ptr< ARDOUR::Region > ®ion, double samples_per_pixel, uint32_t base_color, bool automation=false)
void drop_silent_frames()
virtual void update_coverage_frame(LayerDisplay)
std::string make_name() const
bool valid
see StreamView::redisplay_diskstream()
virtual void trim_front_ending()
virtual void region_resized(const PBD::PropertyChange &)
virtual void region_renamed()
virtual void reset_width_dependent_items(double pixel_width)
virtual void trim_front_starting()
void move(double xdelta, double ydelta)
virtual bool set_duration(Temporal::timecnt_t const &, void *)
ArdourCanvas::Polygon * sync_mark
polygon for sync position
void hide_silent_frames()
virtual GhostRegion * add_ghost(TimeAxisView &)=0
bool _xrun_markers_visible
ArdourCanvas::Line * sync_line
polygon for sync position
virtual void set_samples_per_pixel(double)
virtual void init(bool what_changed)
std::vector< GhostRegion * > ghosts
RegionView(const RegionView &other, const std::shared_ptr< ARDOUR::Region > &other_region)
std::list< ArdourCanvas::Rectangle * > _silent_threshold_samples
RegionView(const RegionView &other)
void remove_ghost(GhostRegion *)
static gint _lock_toggle(ArdourCanvas::Item *, GdkEvent *, void *)
uint32_t _disable_display
see StreamView::redisplay_diskstream()
void hide_region_editor()
void visual_layer_on_top()
ArdourCanvas::Text * _silence_text
std::list< std::pair< samplepos_t, ArdourCanvas::Arrow * > > _xrun_markers
void clear_coverage_frame()
Temporal::timecnt_t region_relative_distance(Temporal::timecnt_t const &, Temporal::TimeDomain desired_time_domain)
ARDOUR::CueMarker find_model_cue_marker(ArdourMarker *)
virtual void region_changed(const PBD::PropertyChange &)
virtual void redisplay(bool)=0
bool trim_front(Temporal::timepos_t const &, bool)
bool _cue_markers_visible
std::list< std::pair< sampleoffset_t, sampleoffset_t > > AudioIntervalResult
int pixel_width(const std::string &str, const Pango::FontDescription &font)
DisplaySuspender(DisplaySuspender const &other)
DisplaySuspender(RegionView &rv, bool just_view=false)
bool operator()(const RegionView *a, const RegionView *b)
ViewCueMarker(ArdourMarker *m, ARDOUR::CueMarker const &c)
ArdourMarker * view_marker
ARDOUR::CueMarker model_marker