Add enum to configure selection after section cut/copy
This commit is contained in:
parent
3bac043043
commit
4cdcdb9ee7
@ -450,6 +450,13 @@ enum RangeSelectionAfterSplit {
|
||||
ForceSel = 2 // bit 1
|
||||
};
|
||||
|
||||
enum TimeSelectionAfterSectionPaste {
|
||||
SectionSelectNoop = 0,
|
||||
SectionSelectClear = 1,
|
||||
SectionSelectRetain = 2,
|
||||
SectionSelectRetainAndMovePlayhead = 3,
|
||||
};
|
||||
|
||||
enum RegionPoint {
|
||||
Start,
|
||||
End,
|
||||
|
@ -64,6 +64,7 @@ DEFINE_ENUM_CONVERT(ARDOUR::DenormalModel)
|
||||
DEFINE_ENUM_CONVERT(ARDOUR::FadeShape)
|
||||
DEFINE_ENUM_CONVERT(ARDOUR::RegionSelectionAfterSplit)
|
||||
DEFINE_ENUM_CONVERT(ARDOUR::RangeSelectionAfterSplit)
|
||||
DEFINE_ENUM_CONVERT(ARDOUR::TimeSelectionAfterSectionPaste)
|
||||
DEFINE_ENUM_CONVERT(ARDOUR::BufferingPreset)
|
||||
DEFINE_ENUM_CONVERT(ARDOUR::AutoReturnTarget)
|
||||
DEFINE_ENUM_CONVERT(ARDOUR::MeterType)
|
||||
|
@ -109,6 +109,7 @@ setup_enum_writer ()
|
||||
FadeShape _FadeShape;
|
||||
RegionSelectionAfterSplit _RegionSelectionAfterSplit;
|
||||
RangeSelectionAfterSplit _RangeSelectionAfterSplit;
|
||||
TimeSelectionAfterSectionPaste _TimeSelectionAfterSectionPaste;
|
||||
IOChange _IOChange;
|
||||
AutomationType _AutomationType;
|
||||
AutoState _AutoState;
|
||||
@ -572,6 +573,12 @@ setup_enum_writer ()
|
||||
REGISTER (_RegionSelectionAfterSplit);
|
||||
REGISTER (_RangeSelectionAfterSplit);
|
||||
|
||||
REGISTER_ENUM(SectionSelectNoop);
|
||||
REGISTER_ENUM(SectionSelectClear);
|
||||
REGISTER_ENUM(SectionSelectRetain);
|
||||
REGISTER_ENUM(SectionSelectRetainAndMovePlayhead);
|
||||
REGISTER (_RangeSelectionAfterSplit);
|
||||
|
||||
REGISTER_CLASS_ENUM (DiskIOProcessor, Recordable);
|
||||
REGISTER_CLASS_ENUM (DiskIOProcessor, Hidden);
|
||||
REGISTER_BITS (_DiskIOProcessor_Flag);
|
||||
|
Loading…
Reference in New Issue
Block a user