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.


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


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


PrefsPanel::Factory SpectrumPrefsFactory (WaveTrack *wt=0)

Macro Definition Documentation


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

Definition at line 39 of file SpectrumPrefs.h.

Function Documentation

◆ SpectrumPrefsFactory()

PrefsPanel::Factory SpectrumPrefsFactory ( WaveTrack wt = 0)

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

Definition at line 587 of file SpectrumPrefs.cpp.

589 return [=](wxWindow *parent, wxWindowID winid, AudacityProject *pProject)
590 {
591 wxASSERT(parent); // to justify safenew
592 return safenew SpectrumPrefs(parent, winid, pProject, wt);
593 };
#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: