Audacity  3.0.3
Classes | Macros | Functions | Variables
TracksBehaviorsPrefs.h File Reference
#include "PrefsPanel.h"
Include dependency graph for TracksBehaviorsPrefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TracksBehaviorsPrefs
 A PrefsPanel for Tracks Behaviors settings. More...
 

Macros

#define TRACKS_BEHAVIORS_PREFS_PLUGIN_SYMBOL   ComponentInterfaceSymbol{ XO("Tracks Behaviors") }
 

Functions

AUDACITY_DLL_API bool GetEditClipsCanMove ()
 

Variables

AUDACITY_DLL_API ChoiceSetting TracksBehaviorsSolo
 

Macro Definition Documentation

◆ TRACKS_BEHAVIORS_PREFS_PLUGIN_SYMBOL

#define TRACKS_BEHAVIORS_PREFS_PLUGIN_SYMBOL   ComponentInterfaceSymbol{ XO("Tracks Behaviors") }

Definition at line 22 of file TracksBehaviorsPrefs.h.

Function Documentation

◆ GetEditClipsCanMove()

AUDACITY_DLL_API bool GetEditClipsCanMove ( )

Definition at line 143 of file TracksBehaviorsPrefs.cpp.

144 {
145  bool mIsSyncLocked;
146  gPrefs->Read(wxT("/GUI/SyncLockTracks"), &mIsSyncLocked, false);
147  if( mIsSyncLocked )
148  return true;
149  bool editClipsCanMove;
150  gPrefs->Read(wxT("/GUI/EditClipCanMove"), &editClipsCanMove, false);
151  return editClipsCanMove;
152 }

References gPrefs.

Referenced by WaveTrack::ExpandCutLine(), WaveTrack::HandleClear(), WaveTrack::PasteWaveTrack(), and Generator::Process().

Here is the caller graph for this function:

Variable Documentation

◆ TracksBehaviorsSolo

AUDACITY_DLL_API ChoiceSetting TracksBehaviorsSolo
extern
gPrefs
FileConfig * gPrefs
Definition: Prefs.cpp:70