Audacity 3.2.0
Namespaces | Functions | Variables
GUIPrefs.cpp File Reference
#include "GUIPrefs.h"
#include <wx/defs.h>
#include <mutex>
#include "FileNames.h"
#include "Languages.h"
#include "Theme.h"
#include "Prefs.h"
#include "ShuttleGui.h"
#include "Decibels.h"
#include "Beats.h"
#include "ThemePrefs.h"
#include "AColor.h"
#include "GUISettings.h"
#include "WaveformSettings.h"
Include dependency graph for GUIPrefs.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{GUIPrefs.cpp}
 

Functions

BoolSettingShowRMSPref ()
 
BoolSettingShowClippingPref ()
 

Variables

PrefsPanel::Registration anonymous_namespace{GUIPrefs.cpp}::sAttachment
 

Function Documentation

◆ ShowClippingPref()

BoolSetting & ShowClippingPref ( )

Definition at line 196 of file GUIPrefs.cpp.

197{
198 static BoolSetting pref { "/GUI/ShowClipping", false };
199 return pref;
200}
This specialization of Setting for bool adds a Toggle method to negate the saved value.
Definition: Prefs.h:346

Referenced by anonymous_namespace{WaveformView.cpp}::DrawIndividualSamples(), anonymous_namespace{WaveformView.cpp}::DrawWaveform(), anonymous_namespace{PluginMenus.cpp}::OnResetConfig(), anonymous_namespace{ViewMenus.cpp}::OnShowClipping(), and anonymous_namespace{ViewMenus.cpp}::ViewMenu().

Here is the caller graph for this function:

◆ ShowRMSPref()

BoolSetting & ShowRMSPref ( )

Definition at line 190 of file GUIPrefs.cpp.

191{
192 static BoolSetting pref { "/GUI/ShowRMS", false };
193 return pref;
194}

Referenced by anonymous_namespace{WaveformView.cpp}::DrawWaveform(), anonymous_namespace{PluginMenus.cpp}::OnResetConfig(), anonymous_namespace{ViewMenus.cpp}::OnShowRMS(), and anonymous_namespace{ViewMenus.cpp}::ViewMenu().

Here is the caller graph for this function: