diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-26 23:43:04 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-26 23:43:04 +0000 |
commit | 0cc0c13444408163e5555a2a1deb32d8f79ec826 (patch) | |
tree | 252047abb98f62d9176bcec404087c6a63865522 /gtk2_ardour/public_editor.h | |
parent | b6e90314b0087e870ad21ce658b92bd23851fe29 (diff) |
provide accessors to Editor::snap_{type,mode} ; when nudging notes, use grid in preference to nudge clock
git-svn-id: svn://localhost/ardour2/branches/3.0@5934 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r-- | gtk2_ardour/public_editor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index d0d63e060b..035d05c1af 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -109,6 +109,9 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulThingWithGoingAway */ virtual void set_snap_to (Editing::SnapType t) = 0; + virtual Editing::SnapType snap_type () const = 0; + virtual Editing::SnapMode snap_mode () const = 0; + /** Set the snap mode. * @param m Snap mode (defined in editing_syms.h) */ |