summaryrefslogtreecommitdiff
path: root/gtk2_ardour/public_editor.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-13 16:28:20 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-13 16:28:20 +0000
commit28123e436dd138000bbbe2814c19d3b3bb53d76d (patch)
tree4ef474b8c0ea4f317d7edfdd2d7c4852c8098271 /gtk2_ardour/public_editor.h
parentef4ac379a330a6a26e4b2da575a2c0010bc41783 (diff)
Snap new automation points on audio lanes (part of #4297).
git-svn-id: svn://localhost/ardour2/branches/3.0@10570 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r--gtk2_ardour/public_editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h
index f5d7dad522..d42605eb1b 100644
--- a/gtk2_ardour/public_editor.h
+++ b/gtk2_ardour/public_editor.h
@@ -387,6 +387,8 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible {
virtual ARDOUR::Location* find_location_from_marker (Marker *, bool &) const = 0;
virtual Marker* find_marker_from_location_id (PBD::ID const &, bool) const = 0;
+ virtual void snap_to_with_modifier (framepos_t &, GdkEvent const *, int32_t direction = 0, bool for_mark = false) = 0;
+
/// Singleton instance, set up by Editor::Editor()
static PublicEditor* _instance;