summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/playlist.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2014-07-23 14:36:21 -0500
committerBen Loftis <ben@harrisonconsoles.com>2014-07-23 14:36:21 -0500
commite85ff4dad26ef13b0351de0dfd92ce22022cd611 (patch)
tree59f29f3200418080ab8fcbf3c83e135349849f5d /libs/ardour/ardour/playlist.h
parent1bbb60df5d44f426423c48fe9cddacf291520ab5 (diff)
Cut and Copy should remember the white space at the end of a range.
This will be used when you paste with Ripple; it maintains the whitespace that you chose in the selection. Also fix default setting of Dim contol by storing the default(normal) value for MPControl Controllables.
Diffstat (limited to 'libs/ardour/ardour/playlist.h')
-rw-r--r--libs/ardour/ardour/playlist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/playlist.h b/libs/ardour/ardour/playlist.h
index 0cb68cd805..bb211dbe58 100644
--- a/libs/ardour/ardour/playlist.h
+++ b/libs/ardour/ardour/playlist.h
@@ -120,6 +120,7 @@ public:
uint32_t n_regions() const;
bool all_regions_empty() const;
std::pair<framepos_t, framepos_t> get_extent () const;
+ std::pair<framepos_t, framepos_t> get_extent_with_endspace() const;
layer_t top_layer() const;
EditMode get_edit_mode() const { return _edit_mode; }
@@ -396,6 +397,8 @@ public:
void setup_layering_indices (RegionList const &);
void coalesce_and_check_crossfades (std::list<Evoral::Range<framepos_t> >);
boost::shared_ptr<RegionList> find_regions_at (framepos_t);
+
+ framepos_t _end_space; //this is used when we are pasting a range with extra space at the end
};
} /* namespace ARDOUR */