Audacity 3.2.0
Classes | Macros | Functions
SpectrumPrefs.h File Reference
#include <vector>
#include <wx/defs.h>
#include "PrefsPanel.h"
#include "SpectrogramSettings.h"
Include dependency graph for SpectrumPrefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SpectrumPrefs
 A PrefsPanel for spectrum settings. More...
 

Macros

#define SPECTRUM_PREFS_PLUGIN_SYMBOL   ComponentInterfaceSymbol{ XO("Spectrum") }
 

Functions

PrefsPanel::Factory SpectrumPrefsFactory (WaveChannel *wc=0)
 

Macro Definition Documentation

◆ SPECTRUM_PREFS_PLUGIN_SYMBOL

#define SPECTRUM_PREFS_PLUGIN_SYMBOL   ComponentInterfaceSymbol{ XO("Spectrum") }

Definition at line 39 of file SpectrumPrefs.h.

Function Documentation

◆ SpectrumPrefsFactory()

PrefsPanel::Factory SpectrumPrefsFactory ( WaveChannel wc = 0)

A PrefsPanel::Factory that creates one SpectrumPrefs panel. This factory can be parametrized by a single channel, to change settings non-globally

Definition at line 576 of file SpectrumPrefs.cpp.

577{
578 return [=](wxWindow *parent, wxWindowID winid, AudacityProject *pProject)
579 {
580 wxASSERT(parent); // to justify safenew
581 return safenew SpectrumPrefs(parent, winid, pProject, wc);
582 };
583}
#define safenew
Definition: MemoryX.h:10
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
A PrefsPanel for spectrum settings.
Definition: SpectrumPrefs.h:42

References safenew.

Referenced by anonymous_namespace{SpectrumView.cpp}::SpectrogramSettingsHandler::OnSpectrogramSettings().

Here is the caller graph for this function: