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/WaveChannelView.h"
#include "WaveChannelViewConstants.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 (WaveChannel *wc)
 

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 ( 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.