![]() |
Audacity 3.2.0
|
Command that sets clip information. More...
#include <DragCommand.h>
Public Member Functions | |
| DragCommand () | |
| ComponentInterfaceSymbol | GetSymbol () const override |
| TranslatableString | GetDescription () const override |
| template<bool Const> | |
| bool | VisitSettings (SettingsVisitorBase< Const > &S) |
| bool | VisitSettings (SettingsVisitor &S) override |
| bool | VisitSettings (ConstSettingsVisitor &S) override |
| void | PopulateOrExchange (ShuttleGui &S) override |
| ManualPageID | ManualPage () override |
| bool | Apply (const CommandContext &context) override |
Public Member Functions inherited from AudacityCommand | |
| AudacityCommand () | |
| virtual | ~AudacityCommand () |
| PluginPath | GetPath () const override |
| VendorSymbol | GetVendor () const override |
| wxString | GetVersion () const override |
| ComponentInterfaceSymbol | GetSymbol () const override=0 |
| virtual TranslatableString | GetDescription () const override |
| virtual ManualPageID | ManualPage () |
| virtual bool | IsBatchProcessing () const |
| virtual void | SetBatchProcessing (bool start) |
| virtual bool | Apply (const CommandContext &WXUNUSED(context)) |
| bool | ShowInterface (wxWindow *parent, bool forceModal=false) |
| wxDialog * | CreateUI (wxWindow *parent, AudacityCommand *client) |
| bool | SaveSettingsAsString (wxString &parms) |
| bool | LoadSettingsFromString (const wxString &parms) |
| bool | DoAudacityCommand (const CommandContext &context, bool shouldPrompt=true) |
| int | MessageBox (const TranslatableString &message, long style=DefaultMessageBoxStyle, const TranslatableString &titleStr={}) |
| virtual bool | Init () |
| virtual bool | PromptUser (AudacityProject &) |
| virtual bool | CheckWhetherSkipAudacityCommand () |
| virtual void | End () |
| virtual void | PopulateOrExchange (ShuttleGui &WXUNUSED(S)) |
| virtual bool | TransferDataToWindow () |
| virtual bool | TransferDataFromWindow () |
| virtual bool | VisitSettings (SettingsVisitor &) |
| virtual bool | VisitSettings (ConstSettingsVisitor &) |
Public Member Functions inherited from ComponentInterface | |
| virtual | ~ComponentInterface () |
| virtual PluginPath | GetPath () const =0 |
| virtual ComponentInterfaceSymbol | GetSymbol () const =0 |
| virtual VendorSymbol | GetVendor () const =0 |
| virtual wxString | GetVersion () const =0 |
| virtual TranslatableString | GetDescription () const =0 |
| TranslatableString | GetName () const |
Public Attributes | |
| double | mFromX |
| double | mFromY |
| double | mToX |
| double | mToY |
| int | mRelativeTo |
| int | mId |
| wxString | mWinName |
| bool | bHasFromX |
| bool | bHasFromY |
| bool | bHasToX |
| bool | bHasToY |
| bool | bHasRelativeTo |
| bool | bHasId |
| bool | bHasWinName |
Static Public Attributes | |
| static const ComponentInterfaceSymbol | Symbol { XO("Drag") } |
Additional Inherited Members | |
Public Types inherited from AudacityCommand | |
| enum | : long { DefaultMessageBoxStyle = wxOK | wxCENTRE } |
Protected Attributes inherited from AudacityCommand | |
| ProgressDialog * | mProgress |
| wxDialog * | mUIDialog |
| wxWindow * | mUIParent |
Command that sets clip information.
Definition at line 22 of file DragCommand.h.
| DragCommand::DragCommand | ( | ) |
Definition at line 40 of file DragCommand.cpp.
|
override |
Definition at line 99 of file DragCommand.cpp.
References bHasFromX, bHasFromY, bHasId, bHasToX, bHasToY, bHasWinName, GetProjectFrame(), mFromX, mFromY, mId, mToX, mToY, mWinName, and CommandContext::project.
|
inlineoverridevirtual |
Reimplemented from AudacityCommand.
Definition at line 30 of file DragCommand.h.
References XO().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from AudacityCommand.
Definition at line 37 of file DragCommand.h.
|
override |
Definition at line 80 of file DragCommand.cpp.
References bHasFromX, bHasFromY, bHasId, bHasRelativeTo, bHasToX, bHasToY, bHasWinName, kCoordTypeStrings, mFromX, mFromY, mId, mRelativeTo, Msgids(), mToX, mToY, mWinName, nCoordTypes, S, and XXO().
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from AudacityCommand.
Definition at line 77 of file DragCommand.cpp.
References S.
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from AudacityCommand.
Definition at line 74 of file DragCommand.cpp.
References S.
| bool DragCommand::VisitSettings | ( | SettingsVisitorBase< Const > & | S | ) |
Definition at line 63 of file DragCommand.cpp.
References bHasFromX, bHasFromY, bHasId, bHasRelativeTo, bHasToX, bHasToY, bHasWinName, kCoordTypeStrings, kPanel, mFromX, mFromY, mId, mRelativeTo, mToX, mToY, mWinName, nCoordTypes, S, and wxT().
| bool DragCommand::bHasFromX |
Definition at line 50 of file DragCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| bool DragCommand::bHasFromY |
Definition at line 51 of file DragCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| bool DragCommand::bHasId |
Definition at line 55 of file DragCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| bool DragCommand::bHasRelativeTo |
Definition at line 54 of file DragCommand.h.
Referenced by PopulateOrExchange(), and VisitSettings().
| bool DragCommand::bHasToX |
Definition at line 52 of file DragCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| bool DragCommand::bHasToY |
Definition at line 53 of file DragCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| bool DragCommand::bHasWinName |
Definition at line 56 of file DragCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| double DragCommand::mFromX |
Definition at line 42 of file DragCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| double DragCommand::mFromY |
Definition at line 43 of file DragCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| int DragCommand::mId |
Definition at line 47 of file DragCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| int DragCommand::mRelativeTo |
Definition at line 46 of file DragCommand.h.
Referenced by PopulateOrExchange(), and VisitSettings().
| double DragCommand::mToX |
Definition at line 44 of file DragCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| double DragCommand::mToY |
Definition at line 45 of file DragCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
| wxString DragCommand::mWinName |
Definition at line 48 of file DragCommand.h.
Referenced by Apply(), PopulateOrExchange(), and VisitSettings().
|
static |
Definition at line 25 of file DragCommand.h.
Referenced by GetSymbol().