![]() |
Audacity 3.2.0
|
A SetTrackBase that sets appearance of a track. 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 |
Public Member Functions inherited from SetTrackBase | |
| bool | Apply (const CommandContext &context) final |
| virtual bool | ApplyInner (const CommandContext &context, Track &t)=0 |
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 | |
| int | mColour |
| int | mHeight |
| int | mDisplayType |
| int | mScaleType |
| int | mVZoom |
| double | mVZoomTop |
| double | mVZoomBottom |
| bool | bUseSpecPrefs |
| bool | bSpectralSelect |
| int | mSpecColorScheme |
| bool | bHasColour |
| bool | bHasHeight |
| bool | bHasDisplayType |
| bool | bHasScaleType |
| bool | bHasVZoom |
| bool | bHasVZoomTop |
| bool | bHasVZoomBottom |
| bool | bHasUseSpecPrefs |
| bool | bHasSpectralSelect |
| bool | bHasSpecColorScheme |
Static Public Attributes | |
| static const ComponentInterfaceSymbol | Symbol { XO("Set Track Visuals") } |
Additional Inherited Members | |
Public Types inherited from AudacityCommand | |
| enum | : long { DefaultMessageBoxStyle = wxOK | wxCENTRE } |
Protected Attributes inherited from AudacityCommand | |
| ProgressDialog * | mProgress |
| wxDialog * | mUIDialog |
| wxWindow * | mUIParent |
A SetTrackBase that sets appearance of a track.
Definition at line 92 of file SetTrackInfoCommand.h.
|
overridevirtual |
Implements SetTrackBase.
Definition at line 325 of file SetTrackInfoCommand.cpp.
References WaveChannelSubViewType::All(), bHasColour, bHasDisplayType, bHasHeight, bHasScaleType, bHasSpecColorScheme, bHasSpectralSelect, bHasUseSpecPrefs, bHasVZoom, bHasVZoomBottom, bHasVZoomTop, bSpectralSelect, bUseSpecPrefs, ChannelGroup::Channels(), WaveTrack::Channels(), WaveChannelSubViewType::Default(), TrackPanel::Get(), ChannelView::Get(), SpectrogramSettings::Get(), WaveformSettings::Get(), WaveformScale::Get(), WaveChannelView::Get(), WaveformAppearance::Get(), kHalfWave, kLinearAmp, kLinearDb, kLogarithmicDb, kReset, kTimes2, mColour, mDisplayType, mHeight, mScaleType, mSpecColorScheme, mVZoom, mVZoomBottom, mVZoomTop, SpectrogramSettings::Own(), CommandContext::project, SpectrogramSettings::Reset(), WaveformSettings::scaleType, WaveformAppearance::SetColorIndex(), ChannelView::SetExpandedHeight(), settings(), WaveformSettings::stLinearAmp, WaveformSettings::stLinearDb, WaveformSettings::stLogarithmicDb, and anonymous_namespace{NoteTrack.cpp}::swap().
Referenced by SetTrackCommand::ApplyInner().
|
inlineoverridevirtual |
Reimplemented from AudacityCommand.
Definition at line 100 of file SetTrackInfoCommand.h.
References XO().
|
inlineoverridevirtual |
Implements AudacityCommand.
Definition at line 99 of file SetTrackInfoCommand.h.
References Symbol.
|
inlineoverridevirtual |
Reimplemented from AudacityCommand.
Definition at line 107 of file SetTrackInfoCommand.h.
|
override |
Definition at line 283 of file SetTrackInfoCommand.cpp.
References bHasColour, bHasDisplayType, bHasHeight, bHasScaleType, bHasSpecColorScheme, bHasSpectralSelect, bHasUseSpecPrefs, bHasVZoom, bHasVZoomBottom, bHasVZoomTop, bSpectralSelect, bUseSpecPrefs, DiscoverSubViewTypes(), SpectrogramSettings::GetColorSchemeNames(), kColourStrings, kScaleTypeStrings, kZoomTypeStrings, mColour, mDisplayType, mHeight, mScaleType, Msgids(), mSpecColorScheme, mVZoom, mVZoomBottom, mVZoomTop, nColours, nScaleTypes, nZoomTypes, S, ComponentInterfaceSymbol::Stripped(), XC, and XXO().
Referenced by SetTrackCommand::PopulateOrExchange().
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from AudacityCommand.
Definition at line 280 of file SetTrackInfoCommand.cpp.
References S.
|
overridevirtual |
Visit settings, if defined. false means no defined settings. Default implementation returns false
Reimplemented from AudacityCommand.
Definition at line 277 of file SetTrackInfoCommand.cpp.
References S.
| bool SetTrackVisualsCommand::VisitSettings | ( | SettingsVisitorBase< Const > & | S | ) |
Definition at line 254 of file SetTrackInfoCommand.cpp.
References bHasColour, bHasDisplayType, bHasHeight, bHasScaleType, bHasSpecColorScheme, bHasSpectralSelect, bHasUseSpecPrefs, bHasVZoom, bHasVZoomBottom, bHasVZoomTop, bSpectralSelect, bUseSpecPrefs, SpectrogramSettings::csColorNew, DiscoverSubViewTypes(), SpectrogramSettings::GetColorSchemeNames(), kColour0, kColourStrings, kLinearAmp, kReset, kScaleTypeStrings, kZoomTypeStrings, mColour, mDisplayType, mHeight, mScaleType, mSpecColorScheme, mVZoom, mVZoomBottom, mVZoomTop, nColours, nScaleTypes, nZoomTypes, S, and wxT().
Referenced by SetTrackCommand::VisitSettings().
| bool SetTrackVisualsCommand::bHasColour |
Definition at line 124 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| bool SetTrackVisualsCommand::bHasDisplayType |
Definition at line 126 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| bool SetTrackVisualsCommand::bHasHeight |
Definition at line 125 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| bool SetTrackVisualsCommand::bHasScaleType |
Definition at line 127 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| bool SetTrackVisualsCommand::bHasSpecColorScheme |
Definition at line 134 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| bool SetTrackVisualsCommand::bHasSpectralSelect |
Definition at line 133 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| bool SetTrackVisualsCommand::bHasUseSpecPrefs |
Definition at line 132 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| bool SetTrackVisualsCommand::bHasVZoom |
Definition at line 128 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| bool SetTrackVisualsCommand::bHasVZoomBottom |
Definition at line 130 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| bool SetTrackVisualsCommand::bHasVZoomTop |
Definition at line 129 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| bool SetTrackVisualsCommand::bSpectralSelect |
Definition at line 120 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| bool SetTrackVisualsCommand::bUseSpecPrefs |
Definition at line 119 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| int SetTrackVisualsCommand::mColour |
Definition at line 111 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| int SetTrackVisualsCommand::mDisplayType |
Definition at line 113 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| int SetTrackVisualsCommand::mHeight |
Definition at line 112 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| int SetTrackVisualsCommand::mScaleType |
Definition at line 114 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| int SetTrackVisualsCommand::mSpecColorScheme |
Definition at line 121 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| int SetTrackVisualsCommand::mVZoom |
Definition at line 115 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| double SetTrackVisualsCommand::mVZoomBottom |
Definition at line 117 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
| double SetTrackVisualsCommand::mVZoomTop |
Definition at line 116 of file SetTrackInfoCommand.h.
Referenced by ApplyInner(), PopulateOrExchange(), and VisitSettings().
|
static |
Definition at line 95 of file SetTrackInfoCommand.h.
Referenced by GetSymbol().