Audacity  3.0.3
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ProjectSettings Class Referencefinal

Holds various per-project settings values, and sends events to the project when certain values change. More...

#include <ProjectSettings.h>

Inheritance diagram for ProjectSettings:
[legend]
Collaboration diagram for ProjectSettings:
[legend]

Public Types

enum  EventCode : int { ChangedSyncLock, ChangedProjectRate, ChangedTool }
 

Public Member Functions

 ProjectSettings (AudacityProject &project)
 
 ProjectSettings (const ProjectSettings &) PROHIBITED
 
ProjectSettingsoperator= (const ProjectSettings &) PROHIBITED
 
bool GetTracksFitVerticallyZoomed () const
 
void SetTracksFitVerticallyZoomed (bool flag)
 
bool GetShowId3Dialog () const
 
void SetShowId3Dialog (bool flag)
 
bool IsSyncLocked () const
 
void SetSyncLock (bool flag)
 
void SetSnapTo (int snap)
 
int GetSnapTo () const
 
void SetTool (int tool)
 
int GetTool () const
 
void SetBrushRadius (int brushRadius)
 
int GetBrushRadius () const
 
void SetSmartSelection (bool isSelected)
 
bool IsSmartSelection () const
 
void SetOvertones (bool isSelected)
 
bool IsOvertones () const
 
double GetPlaySpeed () const
 
void SetPlaySpeed (double value)
 
void SetSelectionFormat (const NumericFormatSymbol &format)
 
const NumericFormatSymbolGetSelectionFormat () const
 
void SetAudioTimeFormat (const NumericFormatSymbol &format)
 
const NumericFormatSymbolGetAudioTimeFormat () const
 
void SetFrequencySelectionFormatName (const NumericFormatSymbol &format)
 
const NumericFormatSymbolGetFrequencySelectionFormatName () const
 
void SetBandwidthSelectionFormatName (const NumericFormatSymbol &format)
 
const NumericFormatSymbolGetBandwidthSelectionFormatName () const
 
bool IsSoloSimple () const
 
bool IsSoloNone () const
 
bool EmptyCanBeDirty () const
 
bool GetShowSplashScreen () const
 
- Public Member Functions inherited from ClientData::Base
virtual ~Base ()
 

Static Public Member Functions

static ProjectSettingsGet (AudacityProject &project)
 
static const ProjectSettingsGet (const AudacityProject &project)
 

Private Member Functions

void UpdatePrefs () override
 
- Private Member Functions inherited from PrefsListener
 PrefsListener ()
 
virtual ~PrefsListener ()
 
virtual void UpdateSelectedPrefs (int id)
 

Private Attributes

AudacityProjectmProject
 
NumericFormatSymbol mSelectionFormat
 
NumericFormatSymbol mFrequencySelectionFormatName
 
NumericFormatSymbol mBandwidthSelectionFormatName
 
NumericFormatSymbol mAudioTimeFormat
 
wxString mSoloPref
 
std::atomic< double > mPlaySpeed {}
 
int mSnapTo
 
int mCurrentTool
 
int mCurrentBrushRadius
 
int mCurrentBrushHop
 
bool mbSmartSelection { false }
 
bool mbOvertones { false }
 
bool mTracksFitVerticallyZoomed { false }
 
bool mShowId3Dialog { true }
 
bool mIsSyncLocked { false }
 
bool mEmptyCanBeDirty
 
bool mShowSplashScreen
 

Additional Inherited Members

- Static Private Member Functions inherited from PrefsListener
static void Broadcast (int id=0)
 Call this static function to notify all PrefsListener objects. More...
 

Detailed Description

Holds various per-project settings values, and sends events to the project when certain values change.

Definition at line 58 of file ProjectSettings.h.

Member Enumeration Documentation

◆ EventCode

Enumerator
ChangedSyncLock 
ChangedProjectRate 
ChangedTool 

Definition at line 67 of file ProjectSettings.h.

67  : int {
71  };

Constructor & Destructor Documentation

◆ ProjectSettings() [1/2]

ProjectSettings::ProjectSettings ( AudacityProject project)
explicit

Definition at line 52 of file ProjectSettings.cpp.

53  : mProject{ project }
56  gPrefs->Read(wxT("/SelectionFormat"), wxT("")))
57 }
60  gPrefs->Read(wxT("/AudioTimeFormat"), wxT("hh:mm:ss")))
61 }
64  gPrefs->Read(wxT("/FrequencySelectionFormatName"), wxT("")) )
65 }
68  gPrefs->Read(wxT("/BandwidthSelectionFormatName"), wxT("")) )
69 }
70 , mSnapTo( gPrefs->Read(wxT("/SnapTo"), SNAP_OFF) )
71 , mCurrentBrushRadius ( 5 )
72 {
73  gPrefs->Read(wxT("/GUI/SyncLockTracks"), &mIsSyncLocked, false);
74 
75  bool multiToolActive = false;
76  gPrefs->Read(wxT("/GUI/ToolBars/Tools/MultiToolActive"), &multiToolActive);
77 
78  if (multiToolActive)
80  else
82 
83  UpdatePrefs();
84 }

◆ ProjectSettings() [2/2]

ProjectSettings::ProjectSettings ( const ProjectSettings )

Member Function Documentation

◆ EmptyCanBeDirty()

bool ProjectSettings::EmptyCanBeDirty ( ) const
inline

Definition at line 131 of file ProjectSettings.h.

131 { return mEmptyCanBeDirty; }

◆ Get() [1/2]

ProjectSettings & ProjectSettings::Get ( AudacityProject project)
static

Definition at line 41 of file ProjectSettings.cpp.

42 {
43  return project.AttachedObjects::Get< ProjectSettings >(
45 }

References sProjectSettingsKey.

Referenced by MacroCommands::ApplyCommandInBatchMode(), ProjectSelectionManager::AS_GetSelectionFormat(), ProjectSelectionManager::AS_GetSnapTo(), ProjectSelectionManager::AS_SetSelectionFormat(), ProjectSelectionManager::AS_SetSnapTo(), SelectHandle::Click(), TimeShiftHandle::Click(), anonymous_namespace{ClipMenus.cpp}::DoClipLeftOrRight(), LabelTrackView::DoEditLabels(), Exporter::DoEditMetadata(), SelectUtilities::DoListSelection(), ProjectAudioManager::DoRecord(), ProjectFileManager::DoSave(), TrackUtilities::DoTrackMute(), TrackUtilities::DoTrackSolo(), TrackPanel::DrawTracks(), anonymous_namespace{LabelMenus.cpp}::EditByLabel(), anonymous_namespace{LabelMenus.cpp}::EditClipboardByLabel(), ExportMultipleDialog::ExportMultipleByLabel(), ExportMultipleDialog::ExportMultipleByTrack(), Get(), Effect::GetSelectionFormat(), anonymous_namespace{SelectMenus.cpp}::GridMove(), MixerTrackCluster::HandleResize(), CommonTrackView::HitTest(), NoteTrackAffordanceControls::HitTest(), WaveTrackAffordanceControls::HitTest(), BrushHandle::HitTest(), MuteButtonHandle::HitTest(), SoloButtonHandle::HitTest(), AUPImportFileHandle::Import(), ExportFFmpeg::InitCodecs(), AudacityApp::InitPart2(), IsNotSyncLockedFlag(), IsSyncLockedFlag(), Track::IsSyncLockSelected(), MenuManager::ModifyToolbarMenus(), anonymous_namespace{SelectMenus.cpp}::MoveWhenAudioInactive(), TrackActions::Handler::MuteTracks(), MixerTrackCluster::OnButton_Mute(), ProjectManager::OnCloseWindow(), EditActions::Handler::OnPaste(), SelectActions::Handler::OnSetLeftSelection(), SelectActions::Handler::OnSetRightSelection(), TransportActions::Handler::OnTimerRecord(), ToolsToolBar::OnTool(), ViewActions::Handler::OnUndoPushed(), ProjectFileManager::OpenProjectFile(), TimeToolBar::Populate(), SelectHandle::Preview(), Exporter::Process(), EffectTruncSilence::ProcessIndependently(), SnapManager::Reinit(), StretchHandle::Release(), anonymous_namespace{SelectMenus.cpp}::SeekWhenAudioInactive(), NoteTrackAffordanceHandle::SelectAt(), Exporter::SetAutoExportOptions(), ToolsToolBar::SetCurrentTool(), TranscriptionToolBar::SetPlaySpeed(), SnapManager::Snap(), ProjectSelectionManager::SnapSelection(), ProjectSelectionManager::SSBL_GetBandwidthSelectionFormatName(), ProjectSelectionManager::SSBL_GetFrequencySelectionFormatName(), ProjectSelectionManager::SSBL_SetBandwidthSelectionFormatName(), ProjectSelectionManager::SSBL_SetFrequencySelectionFormatName(), ProjectSelectionManager::TT_GetAudioTimeFormat(), and ProjectSelectionManager::TT_SetAudioTimeFormat().

◆ Get() [2/2]

const ProjectSettings & ProjectSettings::Get ( const AudacityProject project)
static

Definition at line 47 of file ProjectSettings.cpp.

48 {
49  return Get( const_cast< AudacityProject & >( project ) );
50 }

References Get().

Here is the call graph for this function:

◆ GetAudioTimeFormat()

const NumericFormatSymbol & ProjectSettings::GetAudioTimeFormat ( ) const

Definition at line 154 of file ProjectSettings.cpp.

155 {
156  return mAudioTimeFormat;
157 }

References mAudioTimeFormat.

◆ GetBandwidthSelectionFormatName()

const NumericFormatSymbol & ProjectSettings::GetBandwidthSelectionFormatName ( ) const

Definition at line 128 of file ProjectSettings.cpp.

129 {
131 }

References mBandwidthSelectionFormatName.

◆ GetBrushRadius()

int ProjectSettings::GetBrushRadius ( ) const
inline

Definition at line 99 of file ProjectSettings.h.

99 { return mCurrentBrushRadius; }

◆ GetFrequencySelectionFormatName()

const NumericFormatSymbol & ProjectSettings::GetFrequencySelectionFormatName ( ) const

Definition at line 116 of file ProjectSettings.cpp.

117 {
119 }

References mFrequencySelectionFormatName.

◆ GetPlaySpeed()

double ProjectSettings::GetPlaySpeed ( ) const
inline

Definition at line 108 of file ProjectSettings.h.

108  {
109  return mPlaySpeed.load( std::memory_order_relaxed ); }

◆ GetSelectionFormat()

const NumericFormatSymbol & ProjectSettings::GetSelectionFormat ( ) const

Definition at line 144 of file ProjectSettings.cpp.

145 {
146  return mSelectionFormat;
147 }

References mSelectionFormat.

Referenced by Effect::GetSelectionFormat().

Here is the caller graph for this function:

◆ GetShowId3Dialog()

bool ProjectSettings::GetShowId3Dialog ( ) const
inline

Definition at line 81 of file ProjectSettings.h.

81 { return mShowId3Dialog; } //lda

Referenced by Exporter::Process(), and Exporter::SetAutoExportOptions().

Here is the caller graph for this function:

◆ GetShowSplashScreen()

bool ProjectSettings::GetShowSplashScreen ( ) const
inline

Definition at line 133 of file ProjectSettings.h.

133 { return mShowSplashScreen; }

Referenced by AudacityApp::InitPart2().

Here is the caller graph for this function:

◆ GetSnapTo()

int ProjectSettings::GetSnapTo ( ) const

Definition at line 164 of file ProjectSettings.cpp.

165 {
166  return mSnapTo;
167 }

References mSnapTo.

Referenced by SnapManager::Snap().

Here is the caller graph for this function:

◆ GetTool()

int ProjectSettings::GetTool ( ) const
inline

Definition at line 95 of file ProjectSettings.h.

95 { return mCurrentTool; }

Referenced by TimeShiftHandle::Click(), and SelectHandle::Preview().

Here is the caller graph for this function:

◆ GetTracksFitVerticallyZoomed()

bool ProjectSettings::GetTracksFitVerticallyZoomed ( ) const
inline

Definition at line 78 of file ProjectSettings.h.

78 { return mTracksFitVerticallyZoomed; } //lda

Referenced by ProjectAudioManager::DoRecord().

Here is the caller graph for this function:

◆ IsOvertones()

bool ProjectSettings::IsOvertones ( ) const
inline

Definition at line 105 of file ProjectSettings.h.

105 { return mbOvertones; }

◆ IsSmartSelection()

bool ProjectSettings::IsSmartSelection ( ) const
inline

Definition at line 102 of file ProjectSettings.h.

102 { return mbSmartSelection; }

◆ IsSoloNone()

bool ProjectSettings::IsSoloNone ( ) const
inline

Definition at line 129 of file ProjectSettings.h.

129 { return mSoloPref == wxT("None"); }

Referenced by MixerTrackCluster::HandleResize(), MuteButtonHandle::HitTest(), and SoloButtonHandle::HitTest().

Here is the caller graph for this function:

◆ IsSoloSimple()

bool ProjectSettings::IsSoloSimple ( ) const
inline

Definition at line 128 of file ProjectSettings.h.

128 { return mSoloPref == wxT("Simple"); }

Referenced by MixerTrackCluster::OnButton_Mute().

Here is the caller graph for this function:

◆ IsSyncLocked()

bool ProjectSettings::IsSyncLocked ( ) const

Definition at line 175 of file ProjectSettings.cpp.

176 {
177 #ifdef EXPERIMENTAL_SYNC_LOCK
178  return mIsSyncLocked;
179 #else
180  return false;
181 #endif
182 }

References mIsSyncLocked.

Referenced by TimeShiftHandle::Click(), anonymous_namespace{LabelMenus.cpp}::EditByLabel(), anonymous_namespace{LabelMenus.cpp}::EditClipboardByLabel(), IsNotSyncLockedFlag(), IsSyncLockedFlag(), and Track::IsSyncLockSelected().

Here is the caller graph for this function:

◆ operator=()

ProjectSettings& ProjectSettings::operator= ( const ProjectSettings )

◆ SetAudioTimeFormat()

void ProjectSettings::SetAudioTimeFormat ( const NumericFormatSymbol format)

Definition at line 149 of file ProjectSettings.cpp.

150 {
152 }

References format, and mAudioTimeFormat.

◆ SetBandwidthSelectionFormatName()

void ProjectSettings::SetBandwidthSelectionFormatName ( const NumericFormatSymbol format)

Definition at line 133 of file ProjectSettings.cpp.

135 {
136  mBandwidthSelectionFormatName = formatName;
137 }

References mBandwidthSelectionFormatName.

◆ SetBrushRadius()

void ProjectSettings::SetBrushRadius ( int  brushRadius)
inline

Definition at line 98 of file ProjectSettings.h.

98 { mCurrentBrushRadius = brushRadius; }

◆ SetFrequencySelectionFormatName()

void ProjectSettings::SetFrequencySelectionFormatName ( const NumericFormatSymbol format)

Definition at line 121 of file ProjectSettings.cpp.

123 {
124  mFrequencySelectionFormatName = formatName;
125 }

References mFrequencySelectionFormatName.

◆ SetOvertones()

void ProjectSettings::SetOvertones ( bool  isSelected)
inline

Definition at line 104 of file ProjectSettings.h.

104 { mbOvertones = isSelected; }

◆ SetPlaySpeed()

void ProjectSettings::SetPlaySpeed ( double  value)
inline

Definition at line 110 of file ProjectSettings.h.

110  {
111  mPlaySpeed.store( value, std::memory_order_relaxed ); }

Referenced by TranscriptionToolBar::SetPlaySpeed().

Here is the caller graph for this function:

◆ SetSelectionFormat()

void ProjectSettings::SetSelectionFormat ( const NumericFormatSymbol format)

Definition at line 139 of file ProjectSettings.cpp.

140 {
142 }

References format, and mSelectionFormat.

◆ SetShowId3Dialog()

void ProjectSettings::SetShowId3Dialog ( bool  flag)
inline

Definition at line 82 of file ProjectSettings.h.

82 { mShowId3Dialog = flag; } //lda

References flag.

◆ SetSmartSelection()

void ProjectSettings::SetSmartSelection ( bool  isSelected)
inline

Definition at line 101 of file ProjectSettings.h.

101 { mbSmartSelection = isSelected; }

◆ SetSnapTo()

void ProjectSettings::SetSnapTo ( int  snap)

Definition at line 159 of file ProjectSettings.cpp.

160 {
161  mSnapTo = snap;
162 }

References mSnapTo.

◆ SetSyncLock()

void ProjectSettings::SetSyncLock ( bool  flag)

Definition at line 184 of file ProjectSettings.cpp.

185 {
186  auto &project = mProject;
187  if (flag != mIsSyncLocked) {
189  Notify( project, ChangedSyncLock );
190  }
191 }

References ChangedSyncLock, flag, mIsSyncLocked, mProject, and anonymous_namespace{ProjectSettings.cpp}::Notify().

Here is the call graph for this function:

◆ SetTool()

void ProjectSettings::SetTool ( int  tool)

Definition at line 170 of file ProjectSettings.cpp.

170  {
171  mCurrentTool = tool;
173 }

References ChangedTool, mCurrentTool, mProject, and anonymous_namespace{ProjectSettings.cpp}::Notify().

Referenced by ToolsToolBar::OnTool(), and ToolsToolBar::SetCurrentTool().

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

◆ SetTracksFitVerticallyZoomed()

void ProjectSettings::SetTracksFitVerticallyZoomed ( bool  flag)
inline

Definition at line 79 of file ProjectSettings.h.

References flag.

◆ UpdatePrefs()

void ProjectSettings::UpdatePrefs ( )
overrideprivatevirtual

Implements PrefsListener.

Definition at line 86 of file ProjectSettings.cpp.

87 {
88  gPrefs->Read(wxT("/AudioFiles/ShowId3Dialog"), &mShowId3Dialog, true);
89  gPrefs->Read(wxT("/GUI/EmptyCanBeDirty"), &mEmptyCanBeDirty, true);
90  gPrefs->Read(wxT("/GUI/ShowSplashScreen"), &mShowSplashScreen, true);
92  // Update the old default to the NEW default.
93  if (mSoloPref == wxT("Standard"))
94  mSoloPref = wxT("Simple");
95  gPrefs->Read(wxT("/GUI/TracksFitVerticallyZoomed"),
97  // gPrefs->Read(wxT("/GUI/UpdateSpectrogram"),
98  // &mViewInfo.bUpdateSpectrogram, true);
99 
100  // This code to change an empty projects rate is currently disabled, after
101  // discussion. The rule 'Default sample rate' only affects newly created
102  // projects was felt to be simpler and better.
103 #if 0
104  // The DefaultProjectSample rate is the rate for new projects.
105  // Do not change this project's rate, unless there are no tracks.
106  if( TrackList::Get( *this ).size() == 0){
107  mRate = QualityDefaultSampleRate.Read();
108  // If necessary, we change this rate in the selection toolbar too.
109  auto bar = SelectionBar::Get( *this );
110  bar.SetRate( mRate );
111  }
112 #endif
113 }

References SelectionBar::Get(), TrackList::Get(), gPrefs, mEmptyCanBeDirty, mShowId3Dialog, mShowSplashScreen, mSoloPref, mTracksFitVerticallyZoomed, ChoiceSetting::Read(), TrackList::size(), and TracksBehaviorsSolo.

Here is the call graph for this function:

Member Data Documentation

◆ mAudioTimeFormat

NumericFormatSymbol ProjectSettings::mAudioTimeFormat
private

Definition at line 143 of file ProjectSettings.h.

Referenced by GetAudioTimeFormat(), and SetAudioTimeFormat().

◆ mBandwidthSelectionFormatName

NumericFormatSymbol ProjectSettings::mBandwidthSelectionFormatName
private

◆ mbOvertones

bool ProjectSettings::mbOvertones { false }
private

Definition at line 157 of file ProjectSettings.h.

◆ mbSmartSelection

bool ProjectSettings::mbSmartSelection { false }
private

Definition at line 156 of file ProjectSettings.h.

◆ mCurrentBrushHop

int ProjectSettings::mCurrentBrushHop
private

Definition at line 155 of file ProjectSettings.h.

◆ mCurrentBrushRadius

int ProjectSettings::mCurrentBrushRadius
private

Definition at line 154 of file ProjectSettings.h.

◆ mCurrentTool

int ProjectSettings::mCurrentTool
private

Definition at line 153 of file ProjectSettings.h.

Referenced by SetTool().

◆ mEmptyCanBeDirty

bool ProjectSettings::mEmptyCanBeDirty
private

Definition at line 162 of file ProjectSettings.h.

Referenced by UpdatePrefs().

◆ mFrequencySelectionFormatName

NumericFormatSymbol ProjectSettings::mFrequencySelectionFormatName
private

◆ mIsSyncLocked

bool ProjectSettings::mIsSyncLocked { false }
private

Definition at line 161 of file ProjectSettings.h.

Referenced by IsSyncLocked(), and SetSyncLock().

◆ mPlaySpeed

std::atomic<double> ProjectSettings::mPlaySpeed {}
private

Definition at line 149 of file ProjectSettings.h.

◆ mProject

AudacityProject& ProjectSettings::mProject
private

Definition at line 138 of file ProjectSettings.h.

Referenced by SetSyncLock(), and SetTool().

◆ mSelectionFormat

NumericFormatSymbol ProjectSettings::mSelectionFormat
private

Definition at line 140 of file ProjectSettings.h.

Referenced by GetSelectionFormat(), and SetSelectionFormat().

◆ mShowId3Dialog

bool ProjectSettings::mShowId3Dialog { true }
private

Definition at line 160 of file ProjectSettings.h.

Referenced by UpdatePrefs().

◆ mShowSplashScreen

bool ProjectSettings::mShowSplashScreen
private

Definition at line 163 of file ProjectSettings.h.

Referenced by UpdatePrefs().

◆ mSnapTo

int ProjectSettings::mSnapTo
private

Definition at line 151 of file ProjectSettings.h.

Referenced by GetSnapTo(), and SetSnapTo().

◆ mSoloPref

wxString ProjectSettings::mSoloPref
private

Definition at line 145 of file ProjectSettings.h.

Referenced by UpdatePrefs().

◆ mTracksFitVerticallyZoomed

bool ProjectSettings::mTracksFitVerticallyZoomed { false }
private

Definition at line 159 of file ProjectSettings.h.

Referenced by UpdatePrefs().


The documentation for this class was generated from the following files:
SelectionBar::Get
static SelectionBar & Get(AudacityProject &project)
Definition: SelectionBar.cpp:137
ProjectSettings::mProject
AudacityProject & mProject
Definition: ProjectSettings.h:138
TracksBehaviorsSolo
ChoiceSetting TracksBehaviorsSolo
Definition: TracksBehaviorsPrefs.cpp:59
SNAP_OFF
@ SNAP_OFF
Definition: ProjectSettings.h:29
ProjectSettings::mFrequencySelectionFormatName
NumericFormatSymbol mFrequencySelectionFormatName
Definition: ProjectSettings.h:141
ProjectSettings::mbSmartSelection
bool mbSmartSelection
Definition: ProjectSettings.h:156
ProjectSettings::mShowId3Dialog
bool mShowId3Dialog
Definition: ProjectSettings.h:160
ToolCodes::selectTool
@ selectTool
Definition: ProjectSettings.h:36
flag
static std::once_flag flag
Definition: WaveformView.cpp:1124
gPrefs
FileConfig * gPrefs
Definition: Prefs.cpp:70
ProjectSettings::mCurrentTool
int mCurrentTool
Definition: ProjectSettings.h:153
sProjectSettingsKey
static const AudacityProject::AttachedObjects::RegisteredFactory sProjectSettingsKey
Definition: ProjectSettings.cpp:34
ProjectSettings::Get
static ProjectSettings & Get(AudacityProject &project)
Definition: ProjectSettings.cpp:41
ProjectSettings::mAudioTimeFormat
NumericFormatSymbol mAudioTimeFormat
Definition: ProjectSettings.h:143
ProjectSettings::mSelectionFormat
NumericFormatSymbol mSelectionFormat
Definition: ProjectSettings.h:140
ProjectSettings::UpdatePrefs
void UpdatePrefs() override
Definition: ProjectSettings.cpp:86
NumericConverter::BANDWIDTH
@ BANDWIDTH
Definition: NumericTextCtrl.h:55
ProjectSettings::mBandwidthSelectionFormatName
NumericFormatSymbol mBandwidthSelectionFormatName
Definition: ProjectSettings.h:142
anonymous_namespace{ProjectSettings.cpp}::Notify
void Notify(AudacityProject &project, ProjectSettings::EventCode code)
Definition: ProjectSettings.cpp:25
ProjectSettings::ChangedSyncLock
@ ChangedSyncLock
Definition: ProjectSettings.h:68
NumericConverter::LookupFormat
static NumericFormatSymbol LookupFormat(Type type, const wxString &id)
Definition: NumericTextCtrl.cpp:702
ProjectSettings::mSnapTo
int mSnapTo
Definition: ProjectSettings.h:151
ToolCodes::multiTool
@ multiTool
Definition: ProjectSettings.h:41
ProjectSettings::mShowSplashScreen
bool mShowSplashScreen
Definition: ProjectSettings.h:163
ProjectSettings::mPlaySpeed
std::atomic< double > mPlaySpeed
Definition: ProjectSettings.h:149
NumericConverter::TIME
@ TIME
Definition: NumericTextCtrl.h:52
format
int format
Definition: ExportPCM.cpp:56
NumericConverter::FREQUENCY
@ FREQUENCY
Definition: NumericTextCtrl.h:54
ProjectSettings::mCurrentBrushRadius
int mCurrentBrushRadius
Definition: ProjectSettings.h:154
ChoiceSetting::Read
wxString Read() const
Definition: Prefs.cpp:282
TrackList::size
size_t size() const
Definition: Track.cpp:1000
ProjectSettings::ChangedTool
@ ChangedTool
Definition: ProjectSettings.h:70
TrackList::Get
static TrackList & Get(AudacityProject &project)
Definition: Track.cpp:506
ProjectSettings::mSoloPref
wxString mSoloPref
Definition: ProjectSettings.h:145
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
ProjectSettings::mbOvertones
bool mbOvertones
Definition: ProjectSettings.h:157
ProjectSettings::mTracksFitVerticallyZoomed
bool mTracksFitVerticallyZoomed
Definition: ProjectSettings.h:159
ProjectSettings::ChangedProjectRate
@ ChangedProjectRate
Definition: ProjectSettings.h:69
ProjectSettings::mEmptyCanBeDirty
bool mEmptyCanBeDirty
Definition: ProjectSettings.h:162
ProjectSettings::mIsSyncLocked
bool mIsSyncLocked
Definition: ProjectSettings.h:161
ProjectSettings
Holds various per-project settings values, and sends events to the project when certain values change...
Definition: ProjectSettings.h:61