Audacity 3.2.0
Enumerations | Functions
WaveformPrefs.cpp File Reference
#include "WaveformPrefs.h"
#include "GUIPrefs.h"
#include "Decibels.h"
#include <wx/checkbox.h>
#include <wx/choice.h>
#include "Project.h"
#include "../TrackPanel.h"
#include "../ShuttleGui.h"
#include "../WaveTrack.h"
#include "../tracks/playabletrack/wavetrack/ui/WaveTrackView.h"
#include "../tracks/playabletrack/wavetrack/ui/WaveTrackViewConstants.h"
Include dependency graph for WaveformPrefs.cpp:

Go to the source code of this file.

Enumerations

enum  { ID_DEFAULTS = 10001 , ID_SCALE , ID_RANGE }
 

Functions

PrefsPanel::Factory WaveformPrefsFactory (WaveTrack *wt)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_DEFAULTS 
ID_SCALE 
ID_RANGE 

Definition at line 74 of file WaveformPrefs.cpp.

74 {
75 ID_DEFAULTS = 10001,
76
79};
@ ID_SCALE
@ ID_DEFAULTS
@ ID_RANGE

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}
#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:89
A PrefsPanel for spectrum settings.
Definition: WaveformPrefs.h:26

References safenew.