diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-09 08:21:45 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-09 08:21:45 -0600 |
commit | c6eab71435686a0ff4a244584b0a9b24282b73fc (patch) | |
tree | df5dc165232090651c9865b31b242a4de9279554 /gtk2_ardour/public_editor.h | |
parent | 70d8300cb285256784f543da6aaf076d76b5052b (diff) |
new_snap: Snapped Cursor ( squashed commit )
Snapped Cursor is a line that follows the edit point, and indicates where the operation will occur.
This replaces and extends the line that appears with the Cut tool.
New associated preferences: snap_threshold and show_snap_cursor.
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r-- | gtk2_ardour/public_editor.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index 9fbdb106bc..6df7777818 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -143,11 +143,6 @@ public: */ virtual void set_snap_mode (Editing::SnapMode m) = 0; - /** Set the snap threshold. - * @param t Snap threshold in `units'. - */ - virtual void set_snap_threshold (double t) = 0; - /** * Snap a value according to the current snap setting. * ensure_snap overrides SnapOff and magnetic snap @@ -426,6 +421,7 @@ public: virtual ArdourCanvas::ScrollGroup* get_hscroll_group () const = 0; virtual ArdourCanvas::ScrollGroup* get_hvscroll_group () const = 0; virtual ArdourCanvas::ScrollGroup* get_cursor_scroll_group () const = 0; + virtual ArdourCanvas::Container* get_drag_motion_group () const = 0; virtual ArdourCanvas::GtkCanvasViewport* get_track_canvas() const = 0; @@ -467,6 +463,8 @@ public: ARDOUR::RoundMode direction = ARDOUR::RoundNearest, bool for_mark = false) = 0; + virtual void set_snapped_cursor_position (samplepos_t pos) = 0; + virtual void get_regions_at (RegionSelection &, samplepos_t where, TrackViewList const &) const = 0; virtual void get_regions_after (RegionSelection&, samplepos_t where, const TrackViewList& ts) const = 0; virtual RegionSelection get_regions_from_selection_and_mouse (samplepos_t) = 0; |