diff options
author | David Robillard <d@drobilla.net> | 2009-02-15 19:56:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-15 19:56:06 +0000 |
commit | 9c89a93e4f96826bec6ed519f8f435e4fc73bfa5 (patch) | |
tree | 8f4f6ff5002ef18de27fbc9dc8f79ef7a07283e8 /gtk2_ardour/region_view.cc | |
parent | 166395c96b8a85d90b9785e629c739494494130f (diff) |
Remove dead code.
git-svn-id: svn://localhost/ardour2/branches/3.0@4584 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_view.cc')
-rw-r--r-- | gtk2_ardour/region_view.cc | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/gtk2_ardour/region_view.cc b/gtk2_ardour/region_view.cc index 8ceef8138e..54e0a9ef5e 100644 --- a/gtk2_ardour/region_view.cc +++ b/gtk2_ardour/region_view.cc @@ -227,15 +227,6 @@ RegionView::region_changed (Change what_changed) if (what_changed & Region::SyncOffsetChanged) { region_sync_changed (); } - /* - this should not be needed now that only playlist can change layering - */ - /* - if (what_changed & Region::LayerChanged) { - // this is handled by the playlist i believe - //region_layered (); - } - */ if (what_changed & Region::LockChanged) { region_locked (); } @@ -276,22 +267,9 @@ RegionView::reset_width_dependent_items (double pixel_width) { TimeAxisViewItem::reset_width_dependent_items (pixel_width); _pixel_width = pixel_width; - - /*for (AutomationChildren::iterator i = _automation_children.begin(); - i != _automation_children.end(); ++i) { - i->second->reset_width_dependent_items(pixel_width); - }*/ } void -RegionView::region_layered () -{ - RouteTimeAxisView *rtv = dynamic_cast<RouteTimeAxisView*>(&get_time_axis_view()); - assert(rtv); - //rtv->view()->region_layered (this); -} - -void RegionView::region_muted () { set_frame_color (); @@ -334,11 +312,6 @@ RegionView::set_position (nframes_t pos, void* src, double* ignored) for (vector<GhostRegion*>::iterator i = ghosts.begin(); i != ghosts.end(); ++i) { (*i)->group->move (delta, 0.0); } - - for (AutomationChildren::iterator i = _automation_children.begin(); - i != _automation_children.end(); ++i) { - i->second->get_canvas_group()->move(delta, 0.0); - } } return ret; @@ -545,11 +518,6 @@ RegionView::move (double x_delta, double y_delta) for (vector<GhostRegion*>::iterator i = ghosts.begin(); i != ghosts.end(); ++i) { (*i)->group->move (x_delta, 0.0); } - - for (AutomationChildren::iterator i = _automation_children.begin(); - i != _automation_children.end(); ++i) { - i->second->get_canvas_group()->move(x_delta, 0.0); - } } void |