Audacity  3.0.3
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 (WaveTrack *wt)
 

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 ( WaveTrack wt)

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 258 of file WaveformPrefs.cpp.

259 {
260  return [=](wxWindow *parent, wxWindowID winid, AudacityProject *pProject)
261  {
262  wxASSERT(parent); // to justify safenew
263  return safenew WaveformPrefs(parent, winid, pProject, wt);
264  };
265 }

References safenew.

WaveformPrefs
A PrefsPanel for spectrum settings.
Definition: WaveformPrefs.h:26
AudacityProject
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:92
safenew
#define safenew
Definition: MemoryX.h:10