Audacity 3.2.0
Classes | Macros | Functions
WaveformPrefs.h File Reference
#include "PrefsPanel.h"
#include "WaveformSettings.h"
Include dependency graph for WaveformPrefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Macros

#define WAVEFORM_PREFS_PLUGIN_SYMBOL   ComponentInterfaceSymbol{ XO("Waveform") }
 

Functions

PrefsPanel::Factory WaveformPrefsFactory (WaveChannel *wc)
 

Macro Definition Documentation

◆ WAVEFORM_PREFS_PLUGIN_SYMBOL

#define WAVEFORM_PREFS_PLUGIN_SYMBOL   ComponentInterfaceSymbol{ XO("Waveform") }

Definition at line 23 of file WaveformPrefs.h.

Function Documentation

◆ WaveformPrefsFactory()

PrefsPanel::Factory WaveformPrefsFactory ( WaveChannel wc)

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

Definition at line 253 of file WaveformPrefs.cpp.

254{
255 return [=](wxWindow *parent, wxWindowID winid, AudacityProject *pProject)
256 {
257 wxASSERT(parent); // to justify safenew
258 return safenew WaveformPrefs(parent, winid, pProject, wc);
259 };
260}
#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: WaveformPrefs.h:26

References safenew.