Definition at line 1215 of file FreqWindow.cpp.
◆ OnPlotSpectrum()
void anonymous_namespace{FreqWindow.cpp}::Handler::OnPlotSpectrum |
( |
const CommandContext & |
context | ) |
|
|
inline |
Definition at line 1216 of file FreqWindow.cpp.
1217 {
1218 auto &project = context.
project;
1222
1224 return;
1225 freqWindow->
Show(
true);
1226 freqWindow->Raise();
1227 freqWindow->SetFocus();
1228 }
AUDACITY_DLL_API AttachedWindows & GetAttachedWindows(AudacityProject &project)
Subclass & Get(const RegisteredFactory &key)
Get reference to an attachment, creating on demand if not present, down-cast it to Subclass.
AudacityProject & project
void RegisterLastAnalyzer(const CommandContext &context)
static CommandManager & Get(AudacityProject &project)
Displays a spectrum plot of the waveform. Has options for selecting parameters of the plot.
bool Show(bool show=true) override
static result_type Call(Arguments &&...arguments)
Null check of the installed function is done for you.
AttachedWindows::RegisteredFactory sFrequencyWindowKey
References GlobalHook< VetoDialogHook, bool(wxDialog *) >::Call(), CommandManager::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), GetAttachedWindows(), CommandContext::project, CommandManager::RegisterLastAnalyzer(), anonymous_namespace{FreqWindow.cpp}::sFrequencyWindowKey, and FrequencyPlotDialog::Show().
The documentation for this struct was generated from the following file: