summaryrefslogtreecommitdiff
path: root/gtk2_ardour/public_editor.h
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2015-05-17 04:26:05 +1000
committernick_m <mainsbridge@gmail.com>2015-05-17 04:26:05 +1000
commit91a34c596d1bb72f33ccaa17d6ebfa3a435f629c (patch)
treee4597f925fb4f65d7aba9b52eac61f13095f418b /gtk2_ardour/public_editor.h
parentbbafb8f137bd9f8a18a7242e2628d309a1f8f991 (diff)
Relative snap - support magnetic mode (hackishly for now)
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r--gtk2_ardour/public_editor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h
index a8ecbb5f40..dc845e6f89 100644
--- a/gtk2_ardour/public_editor.h
+++ b/gtk2_ardour/public_editor.h
@@ -148,6 +148,10 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible, publi
virtual void snap_to (framepos_t& first,
ARDOUR::RoundMode direction = ARDOUR::RoundNearest,
bool for_mark = false) = 0;
+ /** Snap a value according to the current snap setting. */
+ virtual void snap_to_no_magnets (framepos_t& first,
+ ARDOUR::RoundMode direction = ARDOUR::RoundNearest,
+ bool for_mark = false) = 0;
/** Undo some transactions.
* @param n Number of transactions to undo.