summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-11-28 03:29:53 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-11-28 03:29:53 +0000
commit618f575ac1c931fd9eef95f27e6328903f92a9ec (patch)
tree9a6af36a8ac00ada4839ddd2d2e3c7724eea950e /gtk2_ardour/editor.h
parent00b409b66147d8598aa30653531baaedc0b27064 (diff)
provide support for playhead-to-next/previous-region-boundary actions, and bindings (note: selected marker support not done yet)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2719 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index d7a14d33cb..1f64e4d2e5 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -656,6 +656,9 @@ class Editor : public PublicEditor
Cursor* playhead_cursor;
ArdourCanvas::Group* cursor_group;
+ void cursor_to_region_boundary (Cursor*, int32_t dir);
+ void cursor_to_next_region_boundary (Cursor*);
+ void cursor_to_previous_region_boundary (Cursor*);
void cursor_to_next_region_point (Cursor*, ARDOUR::RegionPoint);
void cursor_to_previous_region_point (Cursor*, ARDOUR::RegionPoint);
void cursor_to_region_point (Cursor*, ARDOUR::RegionPoint, int32_t dir);
@@ -674,6 +677,7 @@ class Editor : public PublicEditor
void select_range_between ();
boost::shared_ptr<ARDOUR::Region> find_next_region (nframes_t, ARDOUR::RegionPoint, int32_t dir, TrackViewList&, TimeAxisView ** = 0);
+ nframes64_t find_next_region_boundary (nframes64_t, int32_t dir, const TrackViewList&);
vector<nframes_t> region_boundary_cache;
void build_region_boundary_cache ();