diff options
author | Robin Gareus <robin@gareus.org> | 2019-04-08 20:25:05 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-04-08 20:57:56 +0200 |
commit | 8a7e452265ca079aafe8fa6dce58ed54ca7fe824 (patch) | |
tree | 8ed4ddfeba55c683ccb8bbb367913306be90cac5 /gtk2_ardour/region_view.cc | |
parent | f9e12235c3cba154a5c1a88a647bf1a1531fb1f3 (diff) |
Yet another "Rect frame" (not a sample)
Diffstat (limited to 'gtk2_ardour/region_view.cc')
-rw-r--r-- | gtk2_ardour/region_view.cc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gtk2_ardour/region_view.cc b/gtk2_ardour/region_view.cc index a671cce0c0..128b848aa8 100644 --- a/gtk2_ardour/region_view.cc +++ b/gtk2_ardour/region_view.cc @@ -156,18 +156,18 @@ RegionView::init (bool wfd) name_highlight->Event.connect (sigc::bind (sigc::mem_fun (PublicEditor::instance(), &PublicEditor::canvas_region_view_name_highlight_event), name_highlight, this)); } - if (sample_handle_start) { - sample_handle_start->set_data ("regionview", this); - sample_handle_start->set_data ("isleft", (void*) 1); - sample_handle_start->Event.connect (sigc::bind (sigc::mem_fun (PublicEditor::instance(), &PublicEditor::canvas_sample_handle_event), sample_handle_start, this)); - sample_handle_start->raise_to_top(); + if (frame_handle_start) { + frame_handle_start->set_data ("regionview", this); + frame_handle_start->set_data ("isleft", (void*) 1); + frame_handle_start->Event.connect (sigc::bind (sigc::mem_fun (PublicEditor::instance(), &PublicEditor::canvas_frame_handle_event), frame_handle_start, this)); + frame_handle_start->raise_to_top(); } - if (sample_handle_end) { - sample_handle_end->set_data ("regionview", this); - sample_handle_end->set_data ("isleft", (void*) 0); - sample_handle_end->Event.connect (sigc::bind (sigc::mem_fun (PublicEditor::instance(), &PublicEditor::canvas_sample_handle_event), sample_handle_end, this)); - sample_handle_end->raise_to_top(); + if (frame_handle_end) { + frame_handle_end->set_data ("regionview", this); + frame_handle_end->set_data ("isleft", (void*) 0); + frame_handle_end->Event.connect (sigc::bind (sigc::mem_fun (PublicEditor::instance(), &PublicEditor::canvas_frame_handle_event), frame_handle_end, this)); + frame_handle_end->raise_to_top(); } if (name_text) { @@ -821,12 +821,12 @@ RegionView::update_coverage_samples (LayerDisplay d) cr->set_x1 (trackview.editor().sample_to_pixel (end - position)); } - if (sample_handle_start) { - sample_handle_start->raise_to_top (); + if (frame_handle_start) { + frame_handle_start->raise_to_top (); } - if (sample_handle_end) { - sample_handle_end->raise_to_top (); + if (frame_handle_end) { + frame_handle_end->raise_to_top (); } if (name_highlight) { |