Audacity 3.2.0
Classes | Functions | Variables
anonymous_namespace{TracksPrefs.cpp} Namespace Reference

Classes

struct  Handler
 Observer attached to each project applies the vertical zoom fit preference. More...
 

Functions

const wxChar * PinnedHeadPreferenceKey ()
 
bool PinnedHeadPreferenceDefault ()
 
const wxChar * PinnedHeadPositionPreferenceKey ()
 
double PinnedHeadPositionPreferenceDefault ()
 

Variables

const auto waveformScaleKey = wxT("/GUI/DefaultWaveformScaleChoice")
 
const auto dbLogValueString = wxT("dB")
 
const auto dbLinValueString = wxT("dBLin")
 
const auto key0 = wxT("/GUI/DefaultViewMode")
 
const auto key1 = wxT("/GUI/DefaultViewModeNew")
 
const auto key2 = wxT("/GUI/DefaultViewModeChoice")
 
const auto key3 = wxT("/GUI/DefaultViewModeChoiceNew")
 
const wxString obsoleteValue { wxT("WaveformDB") }
 
PrefsPanel::Registration sAttachment
 
static const AudacityProject::AttachedObjects::RegisteredFactory key
 

Function Documentation

◆ PinnedHeadPositionPreferenceDefault()

double anonymous_namespace{TracksPrefs.cpp}::PinnedHeadPositionPreferenceDefault ( )

Definition at line 55 of file TracksPrefs.cpp.

56 {
57 return 0.5;
58 }

Referenced by TracksPrefs::GetPinnedHeadPositionPreference(), and TracksPrefs::PopulateOrExchange().

Here is the caller graph for this function:

◆ PinnedHeadPositionPreferenceKey()

const wxChar * anonymous_namespace{TracksPrefs.cpp}::PinnedHeadPositionPreferenceKey ( )

Definition at line 50 of file TracksPrefs.cpp.

51 {
52 return wxT("/AudioIO/PinnedHeadPosition");
53 }
wxT("CloseDown"))

References wxT().

Referenced by TracksPrefs::GetPinnedHeadPositionPreference(), TracksPrefs::PopulateOrExchange(), and TracksPrefs::SetPinnedHeadPositionPreference().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PinnedHeadPreferenceDefault()

bool anonymous_namespace{TracksPrefs.cpp}::PinnedHeadPreferenceDefault ( )

Definition at line 45 of file TracksPrefs.cpp.

46 {
47 return false;
48 }

Referenced by TracksPrefs::GetPinnedHeadPreference(), and TracksPrefs::PopulateOrExchange().

Here is the caller graph for this function:

◆ PinnedHeadPreferenceKey()

const wxChar * anonymous_namespace{TracksPrefs.cpp}::PinnedHeadPreferenceKey ( )

Definition at line 40 of file TracksPrefs.cpp.

41 {
42 return wxT("/AudioIO/PinnedHead");
43 }

References wxT().

Referenced by TracksPrefs::GetPinnedHeadPreference(), TracksPrefs::PopulateOrExchange(), and TracksPrefs::SetPinnedHeadPreference().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ dbLinValueString

const auto anonymous_namespace{TracksPrefs.cpp}::dbLinValueString = wxT("dBLin")

Definition at line 65 of file TracksPrefs.cpp.

◆ dbLogValueString

const auto anonymous_namespace{TracksPrefs.cpp}::dbLogValueString = wxT("dB")

Definition at line 64 of file TracksPrefs.cpp.

Referenced by TracksViewModeEnumSetting::Migrate().

◆ key

const AudacityProject::AttachedObjects::RegisteredFactory anonymous_namespace{TracksPrefs.cpp}::key
static
Initial value:
{
Callable::UniqueMaker<Handler, AudacityProject &>()
}

Definition at line 476 of file TracksPrefs.cpp.

◆ key0

const auto anonymous_namespace{TracksPrefs.cpp}::key0 = wxT("/GUI/DefaultViewMode")

◆ key1

const auto anonymous_namespace{TracksPrefs.cpp}::key1 = wxT("/GUI/DefaultViewModeNew")

Definition at line 89 of file TracksPrefs.cpp.

Referenced by TracksViewModeEnumSetting::Migrate().

◆ key2

const auto anonymous_namespace{TracksPrefs.cpp}::key2 = wxT("/GUI/DefaultViewModeChoice")

Definition at line 90 of file TracksPrefs.cpp.

Referenced by TracksViewModeEnumSetting::Migrate().

◆ key3

const auto anonymous_namespace{TracksPrefs.cpp}::key3 = wxT("/GUI/DefaultViewModeChoiceNew")

Definition at line 91 of file TracksPrefs.cpp.

Referenced by TracksViewModeEnumSetting::Migrate(), and ViewModeSetting().

◆ obsoleteValue

const wxString anonymous_namespace{TracksPrefs.cpp}::obsoleteValue { wxT("WaveformDB") }

Definition at line 93 of file TracksPrefs.cpp.

Referenced by TracksViewModeEnumSetting::Migrate().

◆ sAttachment

PrefsPanel::Registration anonymous_namespace{TracksPrefs.cpp}::sAttachment
Initial value:
{ "Tracks",
[](wxWindow *parent, wxWindowID winid, AudacityProject *)
{
wxASSERT(parent);
return safenew TracksPrefs(parent, winid);
}
}
#define safenew
Definition: MemoryX.h:9
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 track display and behavior properties.
Definition: TracksPrefs.h:28

Definition at line 450 of file TracksPrefs.cpp.

◆ waveformScaleKey

const auto anonymous_namespace{TracksPrefs.cpp}::waveformScaleKey = wxT("/GUI/DefaultWaveformScaleChoice")

Definition at line 63 of file TracksPrefs.cpp.

Referenced by TracksViewModeEnumSetting::Migrate().