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