23 auto result = std::make_shared< ProjectSettings >(
project );
41 , mCurrentBrushRadius ( 5 )
43 bool multiToolActive =
false;
44 gPrefs->
Read(
wxT(
"/GUI/ToolBars/Tools/MultiToolActive"), &multiToolActive);
67 mRate = QualityDefaultSampleRate.Read();
audacity::BasicSettings * gPrefs
static const AudacityProject::AttachedObjects::RegisteredFactory sProjectSettingsKey
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Client code makes static instance from a factory of attachments; passes it to Get or Find as a retrie...
CallbackReturn Publish(const ProjectSettingsEvent &message)
Send a message to connected callbacks.
Holds various per-project settings values, and sends events to the project when certain values change...
static ProjectSettings & Get(AudacityProject &project)
ProjectSettings(AudacityProject &project)
void UpdatePrefs() override
static SelectionBar & Get(AudacityProject &project)
static TrackList & Get(AudacityProject &project)
virtual bool Read(const wxString &key, bool *value) const =0