24#include "../CommonCommandFlags.h"
27#include "../ProjectWindows.h"
56 {
wxT(
"App"),
XO(
"Application") },
57 {
wxT(
"Track0"),
XO(
"Track 0") },
58 {
wxT(
"Track1"),
XO(
"Track 1") },
64 S.OptionalN(
bHasId ).Define(
mId,
wxT(
"Id"), 11000, -100000, 1000000);
68 S.OptionalN(
bHasToX ).Define(
mToX,
wxT(
"ToX"), 400.0, 0.0, 1000000.0);
75 {
return VisitSettings<false>(
S); }
78 {
return VisitSettings<true>(
S); }
84 S.StartMultiColumn(3, wxALIGN_CENTER);
112 wxWindow * pWin1 =
nullptr;
113 wxMouseEvent Evt( wxEVT_MOTION );
117 pWin1 = pWin->FindWindowById(
mId );
119 pWin1 = pWin->FindWindowByName(
mWinName );
125 pWin->GetEventHandler()->ProcessEvent( Evt );
126 pWin->GetEventHandler()->ProcessEvent( Evt );
128 wxMouseEvent Evt2( wxEVT_LEFT_DOWN );
129 Evt2.m_leftDown =
true;
132 Evt2.m_aux2Down =
true;
133 pWin->GetEventHandler()->ProcessEvent( Evt2 );
134 wxMouseEvent Evt3( wxEVT_MOTION );
135 Evt3.m_leftDown =
true;
136 Evt2.m_aux2Down =
true;
140 pWin->GetEventHandler()->ProcessEvent( Evt3 );
141 pWin->GetEventHandler()->ProcessEvent( Evt3 );
142 wxMouseEvent Evt4( wxEVT_LEFT_UP );
143 Evt2.m_aux2Down =
true;
146 pWin->GetEventHandler()->ProcessEvent( Evt4 );
163 wxT(
"Optional/Extra/Part2/Scriptables2")
const ReservedCommandFlag & AudioIONotBusyFlag()
static const EnumValueSymbol kCoordTypeStrings[nCoordTypes]
Declarations of DragCommand and DragCommandType classes.
XXO("&Cut/Copy/Paste Toolbar")
AUDACITY_DLL_API wxFrame & GetProjectFrame(AudacityProject &project)
Get the top-level window associated with the project (as a wxFrame only, when you do not need to use ...
TranslatableStrings Msgids(const EnumValueSymbol strings[], size_t nStrings)
Convenience function often useful when adding choice controls.
CommandContext provides additional information to an 'Apply()' command. It provides the project,...
AudacityProject & project
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
bool Apply(const CommandContext &context) override
static const ComponentInterfaceSymbol Symbol
void PopulateOrExchange(ShuttleGui &S) override
bool VisitSettings(SettingsVisitorBase< Const > &S)
Generates classes whose instances register items at construction.
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.
AUDACITY_DLL_API void OnAudacityCommand(const CommandContext &ctx)
BuiltinCommandsModule::Registration< DragCommand > reg