24#include "../CommonCommandFlags.h"
51 {
wxT(
"Color0"),
XO(
"Color 0") },
52 {
wxT(
"Color1"),
XO(
"Color 1") },
53 {
wxT(
"Color2"),
XO(
"Color 2") },
54 {
wxT(
"Color3"),
XO(
"Color 3") },
64 S.OptionalN(
bHasT0 ).Define(
mT0,
wxT(
"Start"), 0.0, -5.0, 1000000.0);
68 {
return VisitSettings<false>(
S); }
71 {
return VisitSettings<true>(
S); }
77 S.StartMultiColumn(3, wxALIGN_CENTER);
93 for(
auto it = ptrs.begin(); (it != ptrs.end()); it++ ){
125 wxT(
"Optional/Extra/Part2/Scriptables1"),
AttachedItem sAttachment1
const ReservedCommandFlag & AudioIONotBusyFlag()
XXO("&Cut/Copy/Paste Toolbar")
static const EnumValueSymbol kColourStrings[nColours]
Declarations of SetClipCommand and SetClipCommandType classes.
TranslatableStrings Msgids(const EnumValueSymbol strings[], size_t nStrings)
Convenience function often useful when adding choice controls.
std::vector< WaveClip * > WaveClipPointers
CommandContext provides additional information to an 'Apply()' command. It provides the project,...
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
void PopulateOrExchange(ShuttleGui &S) override
bool VisitSettings(SettingsVisitorBase< Const > &S)
static const ComponentInterfaceSymbol Symbol
bool ApplyInner(const CommandContext &context, Track *t) override
Visitor of effect or command parameters. This is a base class with lots of virtual functions that do ...
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Abstract base class for an object holding data associated with points on a time axis.
R TypeSwitch(const Functions &...functions)
Use this function rather than testing track type explicitly and making down-casts.
This allows multiple clips to be a part of one WaveTrack.
void SetPlayStartTime(double time)
void SetName(const wxString &name)
double GetPlayStartTime() const noexcept
void SetColourIndex(int index)
double GetPlayEndTime() const
A Track that contains audio waveform data.
WaveClipPointers SortedClipArray()
AUDACITY_DLL_API void OnAudacityCommand(const CommandContext &ctx)
BuiltinCommandsModule::Registration< SetClipCommand > reg