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 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 56 of file TracksPrefs.cpp.

57 {
58 return 0.5;
59 }

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 51 of file TracksPrefs.cpp.

52 {
53 return wxT("/AudioIO/PinnedHeadPosition");
54 }
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 46 of file TracksPrefs.cpp.

47 {
48 return false;
49 }

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 41 of file TracksPrefs.cpp.

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

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

◆ key

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

Definition at line 448 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 66 of file TracksPrefs.cpp.

Referenced by TracksViewModeEnumSetting::Migrate().

◆ key2

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

Definition at line 67 of file TracksPrefs.cpp.

Referenced by TracksViewModeEnumSetting::Migrate().

◆ key3

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

Definition at line 68 of file TracksPrefs.cpp.

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

◆ obsoleteValue

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

Definition at line 70 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: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 track display and behavior properties.
Definition: TracksPrefs.h:28

Definition at line 422 of file TracksPrefs.cpp.