- ArdourCanvas::Group* canvas_display () { return _canvas_display; }
- ArdourCanvas::Group* ghost_group () { return _ghost_group; }
+ ArdourCanvas::Container* canvas_display () { return _canvas_display; }
+ ArdourCanvas::Container* ghost_group () { return _ghost_group; }
/** @return effective height (taking children into account) in canvas units, or
0 if this TimeAxisView has not yet been shown */
/** @return effective height (taking children into account) in canvas units, or
0 if this TimeAxisView has not yet been shown */
- std::pair<TimeAxisView*, double> covers_y_position (double);
+ std::pair<TimeAxisView*, double> covers_y_position (double) const;
+ bool covered_by_y_range (double y0, double y1) const;
virtual void set_selected_regionviews (RegionSelection&) {}
virtual void set_selected_points (PointSelection&) {}
virtual void set_selected_regionviews (RegionSelection&) {}
virtual void set_selected_points (PointSelection&) {}
virtual boost::shared_ptr<ARDOUR::Region> find_next_region (framepos_t /*pos*/, ARDOUR::RegionPoint, int32_t /*dir*/) {
return boost::shared_ptr<ARDOUR::Region> ();
}
virtual boost::shared_ptr<ARDOUR::Region> find_next_region (framepos_t /*pos*/, ARDOUR::RegionPoint, int32_t /*dir*/) {
return boost::shared_ptr<ARDOUR::Region> ();
}
std::string controls_base_selected_name;
Gtk::Menu* display_menu; /* The standard LHS Track control popup-menus */
TimeAxisView* parent;
std::string controls_base_selected_name;
Gtk::Menu* display_menu; /* The standard LHS Track control popup-menus */
TimeAxisView* parent;
std::list<GhostRegion*> ghosts;
std::list<SelectionRect*> free_selection_rects;
std::list<SelectionRect*> used_selection_rects;
bool _hidden;
bool in_destructor;
Gtk::Menu* _size_menu;
std::list<GhostRegion*> ghosts;
std::list<SelectionRect*> free_selection_rects;
std::list<SelectionRect*> used_selection_rects;
bool _hidden;
bool in_destructor;
Gtk::Menu* _size_menu;
double _resize_drag_start;
GdkCursor* _preresize_cursor;
bool _have_preresize_cursor;
double _resize_drag_start;
GdkCursor* _preresize_cursor;
bool _have_preresize_cursor;