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 int ShowClippingPrefsID ()
 
AUDACITY_DLL_API BoolSettingShowRMSPref ()
 

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

◆ ShowClippingPrefsID()

AUDACITY_DLL_API int ShowClippingPrefsID ( )

Definition at line 225 of file GUIPrefs.cpp.

226{
227 static int value = wxNewId();
228 return value;
229}

Referenced by anonymous_namespace{ViewMenus.cpp}::OnShowClipping(), TrackArtist::UpdatePrefs(), and TrackArtist::UpdateSelectedPrefs().

Here is the caller graph for this function:

◆ ShowRMSPref()

AUDACITY_DLL_API BoolSetting & ShowRMSPref ( )

Definition at line 231 of file GUIPrefs.cpp.

232{
233 static BoolSetting pref { "/GUI/ShowRMS", false };
234 return pref;
235}
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}::DrawWaveform(), anonymous_namespace{ViewMenus.cpp}::OnShowRMS(), and anonymous_namespace{ViewMenus.cpp}::ViewMenu().

Here is the caller graph for this function: