11#ifndef __AUDACITY_PROJECT_SETTINGS__
12#define __AUDACITY_PROJECT_SETTINGS__
33#ifdef EXPERIMENTAL_BRUSH_TOOL
68 int GetTool()
const {
return mCurrentTool; }
90 bool mbSmartSelection {
false };
91 bool mbOvertones {
false };
Utility ClientData::Site to register hooks into a host class that attach client data.
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
An object that sends messages to an open-ended list of subscribed callbacks.
A listener notified of changes in preferences.
virtual void UpdatePrefs()=0
Holds various per-project settings values, and sends events to the project when certain values change...
AudacityProject & mProject
int GetBrushRadius() const
void SetSmartSelection(bool isSelected)
void SetBrushRadius(int brushRadius)
void SetOvertones(bool isSelected)
ProjectSettings(const ProjectSettings &)=delete
ProjectSettings & operator=(const ProjectSettings &)=delete
bool GetShowSplashScreen() const
bool IsSmartSelection() const
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.
A convenient default parameter for class template Site.
enum ProjectSettingsEvent::Type type