void
RouteTimeAxisView::set_selected_points (PointSelection& points)
{
- for (Children::iterator i = children.begin(); i != children.end(); ++i) {
- (*i)->set_selected_points (points);
- }
+ StripableTimeAxisView::set_selected_points (points);
AudioStreamView* asv = dynamic_cast<AudioStreamView*>(_view);
if (asv) {
asv->set_selected_points (points);
}
/* pick up visible automation tracks */
-
- for (Children::iterator i = children.begin(); i != children.end(); ++i) {
- if (!(*i)->hidden()) {
- (*i)->get_selectables (start_adjusted, end_adjusted, top, bot, results, within);
- }
- }
+ StripableTimeAxisView::get_selectables (start_adjusted, end_adjusted, top, bot, results, within);
}
void
if (_view) {
_view->get_inverted_selectables (sel, results);
}
-
- for (Children::iterator i = children.begin(); i != children.end(); ++i) {
- if (!(*i)->hidden()) {
- (*i)->get_inverted_selectables (sel, results);
- }
- }
-
- return;
+ StripableTimeAxisView::get_inverted_selectables (sel, results);
}
RouteGroup*
* @param result Filled in with selectable things.
*/
void
-TimeAxisView::get_selectables (framepos_t /*start*/, framepos_t /*end*/, double /*top*/, double /*bot*/, list<Selectable*>& /*result*/, bool /*within*/)
+TimeAxisView::get_selectables (framepos_t start, framepos_t end, double top, double bot, list<Selectable*>& results, bool within)
{
- return;
+ for (Children::iterator i = children.begin(); i != children.end(); ++i) {
+ if (!(*i)->hidden()) {
+ (*i)->get_selectables (start, end, top, bot, results, within);
+ }
+ }
+}
+
+void
+TimeAxisView::set_selected_points (PointSelection& points)
+{
+ for (Children::iterator i = children.begin(); i != children.end(); ++i) {
+ (*i)->set_selected_points (points);
+ }
}
void
-TimeAxisView::get_inverted_selectables (Selection& /*sel*/, list<Selectable*>& /*result*/)
+TimeAxisView::get_inverted_selectables (Selection& sel, list<Selectable*>& results)
{
- return;
+ for (Children::iterator i = children.begin(); i != children.end(); ++i) {
+ if (!(*i)->hidden()) {
+ (*i)->get_inverted_selectables (sel, results);
+ }
+ }
}
void
const int32_t sub_num) { return false; }
virtual void set_selected_regionviews (RegionSelection&) {}
- virtual void set_selected_points (PointSelection&) {}
+ virtual void set_selected_points (PointSelection&);
virtual void fade_range (TimeSelection&) {}