summaryrefslogtreecommitdiff
path: root/gtk2_ardour/marker.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-11-12 15:01:56 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-11-12 15:01:56 +0000
commit0901000abb9bf6feffecfb72c7d804fe52939293 (patch)
tree070cb6a0153b9a9cb0a42228852643dbbb688775 /gtk2_ardour/marker.cc
parentea81cb17bc452f1c2f0039e9e45f2025348e829a (diff)
add arrow head to selected marker line; fix no-import-embed when selecting "use timestamp"; make split/align use edit point and other integrated editing changes
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2621 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/marker.cc')
-rw-r--r--gtk2_ardour/marker.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/marker.cc b/gtk2_ardour/marker.cc
index 505e577c42..63a6a8bc51 100644
--- a/gtk2_ardour/marker.cc
+++ b/gtk2_ardour/marker.cc
@@ -299,6 +299,13 @@ Marker::add_line (ArdourCanvas::Group* group, double initial_height)
line->property_width_pixels() = 1;
line->property_points() = *line_points;
line->property_fill_color_rgba() = ARDOUR_UI::config()->canvasvar_EditPoint.get();
+ line->property_first_arrowhead() = TRUE;
+ line->property_last_arrowhead() = TRUE;
+ line->property_arrow_shape_a() = 11.0;
+ line->property_arrow_shape_b() = 0.0;
+ line->property_arrow_shape_c() = 9.0;
+
+ line->signal_event().connect (bind (mem_fun (editor, &PublicEditor::canvas_marker_event), mark, this));
}
show_line ();