Audacity 3.2.0
Classes | Macros | Functions
GUIPrefs.h File Reference
#include <wx/defs.h>
#include "PrefsPanel.h"
Include dependency graph for GUIPrefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GUIPrefs
 A PrefsPanel for general GUI preferences. More...
 

Macros

#define GUI_PREFS_PLUGIN_SYMBOL   ComponentInterfaceSymbol{ XO("GUI") }
 

Functions

AUDACITY_DLL_API BoolSettingShowRMSPref ()
 
AUDACITY_DLL_API BoolSettingShowClippingPref ()
 

Macro Definition Documentation

◆ GUI_PREFS_PLUGIN_SYMBOL

#define GUI_PREFS_PLUGIN_SYMBOL   ComponentInterfaceSymbol{ XO("GUI") }

Definition at line 24 of file GUIPrefs.h.

Function Documentation

◆ ShowClippingPref()

AUDACITY_DLL_API 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()

AUDACITY_DLL_API 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: