50 :
RegionView(parent, time_axis, region, spu, basic_color, true)
51 , _region_relative_time_converter(region->session().tempo_map(), region->
position())
52 , _source_relative_time_converter(region->session().tempo_map(), region->
position() - region->
start())
60 group->raise_to_top();
108 const std::string mod_name = (
_dragging ?
"dragging region" :
136 ev->type == GDK_BUTTON_RELEASE &&
140 double x = ev->button.x;
141 double y = ev->button.y;
147 y = std::max (y, 0.0);
187 double when_d = when;
205 unsigned paste_count,
225 my_list->
paste(*slist, model_pos, times);
bool transport_rolling() const
ArdourCanvas::Item * get_canvas_group()
static PBD::Signal1< void, RegionView * > RegionViewGoingAway
bool high_enough_for_name
AutomationTimeAxisView * automation_view() const
virtual void region_resized(const PBD::PropertyChange &)
PublicEditor & editor() const
boost::shared_ptr< ARDOUR::Region > _region
virtual Editing::MouseMode current_mouse_mode() const =0
bool paste(framepos_t pos, unsigned paste_count, float times, boost::shared_ptr< const ARDOUR::AutomationList > slist)
void create_line(boost::shared_ptr< ARDOUR::AutomationList > list)
shared_ptr< T > dynamic_pointer_cast(shared_ptr< U > const &r)
void view_to_model_coord(double &x, double &y) const
boost::shared_ptr< ARDOUR::AutomationList > the_list() const
bool _enable_display
see StreamView::redisplay_diskstream()
void add_command(Command *const cmd)
Representation of the interface of the Editor class.
std::string fill_color_name
LIBARDOUR_API PBD::PropertyDescriptor< framepos_t > start
uint32_t current_height() const
boost::shared_ptr< AutomationLine > _line
PBD::ScopedConnection _mouse_mode_connection
uint32_t get_fill_color() const
void region_resized(const PBD::PropertyChange &)
bool set_position(framepos_t pos, void *src, double *delta=0)
bool canvas_group_event(GdkEvent *)
virtual DragManager * drags() const =0
void set_offset(ARDOUR::framecnt_t)
static uint32_t PrimaryModifier
virtual void init(bool wait_for_data)
ArdourCanvas::Container * canvas_display()
ARDOUR::frameoffset_t snap_frame_to_frame(ARDOUR::frameoffset_t) const
ARDOUR::Session * session() const
virtual void begin_reversible_command(std::string cmd_name)=0
virtual void set_frame_color()
virtual void commit_reversible_command()=0
virtual boost::shared_ptr< Evoral::Control > control(const Evoral::Parameter &id, bool create=false)=0
double from(framepos_t frames) const
bool canvas_group_event(GdkEvent *ev)
bool automation_write() const
static EventTypeMap & instance()
virtual void reset_width_dependent_items(double pixel_width)
const Parameter & parameter() const
Evoral::Parameter _parameter
framepos_t position() const
ARDOUR::DoubleBeatsFramesConverter _region_relative_time_converter
void reset_width_dependent_items(double pixel_width)
virtual bool internal_editing() const =0
virtual framecnt_t get_paste_offset(framepos_t pos, unsigned paste_count, framecnt_t duration)=0
virtual void set_height(double)
virtual MementoCommandBinder< ARDOUR::AutomationList > * memento_command_binder()
ArdourCanvas::Color color_mod(std::string const &color, std::string const &modifier) const
LIBARDOUR_API PBD::PropertyDescriptor< framepos_t > position
static UIConfiguration * config()
framepos_t to(double beats) const
bool paste(const ControlList &, double position, float times)
void set_maximum_time(ARDOUR::framecnt_t)
virtual framepos_t pixel_to_sample(double pixel) const =0
ArdourCanvas::Container * group
bool contains(PropertyDescriptor< T > p) const
boost::shared_ptr< AutomationList > alist() const
void add_automation_event(GdkEvent *event, framepos_t when, double y, bool with_guard_points)
framecnt_t length() const
static bool modifier_state_equals(guint state, ModifierMask)
LIBGTKMM2EXT_API int pixel_width(const std::string &str, Pango::FontDescription &font)
bool set_position(framepos_t pos, void *src, double *ignored)
virtual void add(double when, double value, bool with_guards=true, bool with_default=true)
AutomationRegionView(ArdourCanvas::Container *, AutomationTimeAxisView &, boost::shared_ptr< ARDOUR::Region >, const Evoral::Parameter ¶meter, boost::shared_ptr< ARDOUR::AutomationList >, double initial_samples_per_pixel, uint32_t basic_color)
PBD::Signal0< void > MouseModeChanged
virtual void set_colors()
void mouse_mode_changed()
ARDOUR::DoubleBeatsFramesConverter _source_relative_time_converter
static double NAME_HIGHLIGHT_SIZE
void set_visibility(VisibleAspects)
LIBARDOUR_API PBD::PropertyDescriptor< framecnt_t > length