![]() |
Audacity 3.2.0
|
A SetTrackBase that sets pan, gain, mute and solo. More...
#include <SetTrackInfoCommand.h>
Public Member Functions | |
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 | ApplyInner (const CommandContext &context, Track *t) override |
![]() | |
SetTrackBase () | |
bool | Apply (const CommandContext &context) override |
virtual bool | ApplyInner (const CommandContext &context, Track *t) |
template<bool Const> | |
bool | VisitSettings (SettingsVisitorBase< Const > &S) |
bool | VisitSettings (SettingsVisitor &S) override |
bool | VisitSettings (ConstSettingsVisitor &S) override |
virtual void | PopulateOrExchange (ShuttleGui &S) override |
![]() | |
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 (wxWindow *parent, const CommandContext &context, bool shouldPrompt=true) |
int | MessageBox (const TranslatableString &message, long style=DefaultMessageBoxStyle, const TranslatableString &titleStr={}) |
virtual bool | Init () |
virtual bool | PromptUser (wxWindow *parent) |
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 &) |
![]() | |
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 | mPan |
double | mGain |
bool | bSolo |
bool | bMute |
bool | bHasPan |
bool | bHasGain |
bool | bHasSolo |
bool | bHasMute |
![]() | |
int | mTrackIndex |
int | mChannelIndex |
bool | bHasTrackIndex |
bool | bHasChannelIndex |
bool | bIsSecondChannel |
bool | mbPromptForTracks |
Static Public Attributes | |
static const ComponentInterfaceSymbol | Symbol { XO("Set Track Audio") } |
Additional Inherited Members | |
![]() | |
enum | : long { DefaultMessageBoxStyle = wxOK | wxCENTRE } |
![]() | |
ProgressDialog * | mProgress |
wxDialog * | mUIDialog |
wxWindow * | mUIParent |
A SetTrackBase that sets pan, gain, mute and solo.
Definition at line 75 of file SetTrackInfoCommand.h.
|
overridevirtual |
Reimplemented from SetTrackBase.
Definition at line 244 of file SetTrackInfoCommand.cpp.
References bHasGain, bHasMute, bHasPan, bHasSolo, SetTrackBase::bIsSecondChannel, bMute, bSolo, DB_TO_LINEAR, mGain, mPan, and Track::SetPan().
Referenced by SetTrackCommand::ApplyInner().
|
inlineoverridevirtual |
Reimplemented from AudacityCommand.
Definition at line 83 of file SetTrackInfoCommand.h.
References XO().
|
inlineoverridevirtual |
Implements AudacityCommand.
Definition at line 82 of file SetTrackInfoCommand.h.
References Symbol.
|
inlineoverridevirtual |
Reimplemented from AudacityCommand.
Definition at line 90 of file SetTrackInfoCommand.h.
|
overridevirtual |
Reimplemented from SetTrackBase.
Definition at line 225 of file SetTrackInfoCommand.cpp.
References bHasGain, bHasMute, bHasPan, bHasSolo, bMute, bSolo, mGain, mPan, SetTrackBase::PopulateOrExchange(), S, and XXO().
Referenced by SetTrackCommand::PopulateOrExchange().
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from SetTrackBase.
Definition at line 222 of file SetTrackInfoCommand.cpp.
References S.
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from SetTrackBase.
Definition at line 219 of file SetTrackInfoCommand.cpp.
References S.
bool SetTrackAudioCommand::VisitSettings | ( | SettingsVisitorBase< Const > & | S | ) |
Definition at line 209 of file SetTrackInfoCommand.cpp.
References bHasGain, bHasMute, bHasPan, bHasSolo, bMute, bSolo, mGain, mPan, S, SetTrackBase::VisitSettings(), and wxT().
Referenced by SetTrackCommand::VisitSettings().
bool SetTrackAudioCommand::bHasGain |
Definition at line 101 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
bool SetTrackAudioCommand::bHasMute |
Definition at line 103 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
bool SetTrackAudioCommand::bHasPan |
Definition at line 100 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
bool SetTrackAudioCommand::bHasSolo |
Definition at line 102 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
bool SetTrackAudioCommand::bMute |
Definition at line 97 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
bool SetTrackAudioCommand::bSolo |
Definition at line 96 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
double SetTrackAudioCommand::mGain |
Definition at line 95 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
double SetTrackAudioCommand::mPan |
Definition at line 94 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
|
static |
Definition at line 78 of file SetTrackInfoCommand.h.
Referenced by GetSymbol().