diff options
author | nick_m <mainsbridge@gmail.com> | 2015-05-17 04:26:05 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2015-05-17 04:26:05 +1000 |
commit | 91a34c596d1bb72f33ccaa17d6ebfa3a435f629c (patch) | |
tree | e4597f925fb4f65d7aba9b52eac61f13095f418b /gtk2_ardour/editor.h | |
parent | bbafb8f137bd9f8a18a7242e2628d309a1f8f991 (diff) |
Relative snap - support magnetic mode (hackishly for now)
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r-- | gtk2_ardour/editor.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 0e1661aca9..988d20efd2 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -440,6 +440,10 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD ARDOUR::RoundMode direction = ARDOUR::RoundNearest, bool for_mark = false); + void snap_to_no_magnets (framepos_t& first, + ARDOUR::RoundMode direction = ARDOUR::RoundNearest, + bool for_mark = false); + void snap_to_with_modifier (framepos_t& first, GdkEvent const * ev, ARDOUR::RoundMode direction = ARDOUR::RoundNearest, @@ -2140,7 +2144,8 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD void snap_to_internal (framepos_t& first, ARDOUR::RoundMode direction = ARDOUR::RoundNearest, - bool for_mark = false); + bool for_mark = false, + bool no_magnets = false); void timecode_snap_to_internal (framepos_t& first, ARDOUR::RoundMode direction = ARDOUR::RoundNearest, |