diff options
author | Carl Hetherington <carl@carlh.net> | 2009-10-23 22:28:27 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-10-23 22:28:27 +0000 |
commit | 1f2a518ee20a9e011f75fa2d961fd14f018445c0 (patch) | |
tree | 2c7eb00fd61312d1159928347c9b69abe723a681 /libs/ardour/ardour/location.h | |
parent | d2a11c8c02614c9cd9248fa17945923535110c98 (diff) |
Clean up and simplify code to find marks before and after a position, and hence improve snap to markers so that both start and end positions of a range marker are taken into account.
git-svn-id: svn://localhost/ardour2/branches/3.0@5897 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r-- | libs/ardour/ardour/location.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h index b48db52d92..149a559d85 100644 --- a/libs/ardour/ardour/location.h +++ b/libs/ardour/ardour/location.h @@ -172,8 +172,7 @@ class Locations : public PBD::StatefulDestructible Location *first_location_before (nframes64_t, bool include_special_ranges = false); Location *first_location_after (nframes64_t, bool include_special_ranges = false); - nframes64_t first_mark_before (nframes64_t, bool include_special_ranges = false); - nframes64_t first_mark_after (nframes64_t, bool include_special_ranges = false); + void marks_either_side (nframes64_t const, nframes64_t &, nframes64_t &) const; void find_all_between (nframes64_t start, nframes64_t, LocationList&, Location::Flags); |