11#ifndef __AUDACITY_PROJECT_SETTINGS__
12#define __AUDACITY_PROJECT_SETTINGS__
27 EVT_PROJECT_SETTINGS_CHANGE, wxCommandEvent);
45#ifdef EXPERIMENTAL_BRUSH_TOOL
82 void SetSnapTo(
int snap);
83 int GetSnapTo()
const;
88 int GetTool()
const {
return mCurrentTool; }
119 bool mbSmartSelection {
false };
120 bool mbOvertones {
false };
122 bool mTracksFitVerticallyZoomed{
false };
123 bool mShowId3Dialog{
true };
Utility ClientData::Site to register hooks into a host class that attach client data.
wxDECLARE_EXPORTED_EVENT(AUDACITY_DLL_API, EVT_PROJECT_SETTINGS_CHANGE, wxCommandEvent)
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
A listener notified of changes in preferences.
Holds various per-project settings values, and sends events to the project when certain values change...
bool EmptyCanBeDirty() const
bool GetShowId3Dialog() const
AudacityProject & mProject
int GetBrushRadius() const
ProjectSettings(const ProjectSettings &) PROHIBITED
bool IsSoloSimple() const
void SetSmartSelection(bool isSelected)
bool GetTracksFitVerticallyZoomed() const
void SetBrushRadius(int brushRadius)
void SetOvertones(bool isSelected)
void SetTracksFitVerticallyZoomed(bool flag)
ProjectSettings & operator=(const ProjectSettings &) PROHIBITED
void SetShowId3Dialog(bool flag)
bool GetShowSplashScreen() const
bool IsSmartSelection() const
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.
AUDACITY_DLL_API void UpdatePrefs(wxWindow *pParent)
A convenient default parameter for class template Site.