Audacity  3.0.3
Namespaces | Functions | Variables
TracksBehaviorsPrefs.cpp File Reference
#include "TracksBehaviorsPrefs.h"
#include "ViewInfo.h"
#include "Prefs.h"
#include "../ShuttleGui.h"
Include dependency graph for TracksBehaviorsPrefs.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{TracksBehaviorsPrefs.cpp}
 

Functions

bool GetEditClipsCanMove ()
 

Variables

ChoiceSetting TracksBehaviorsSolo
 
PrefsPanel::Registration anonymous_namespace{TracksBehaviorsPrefs.cpp}::sAttachment
 

Function Documentation

◆ GetEditClipsCanMove()

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

ChoiceSetting TracksBehaviorsSolo
Initial value:
{
wxT("/GUI/Solo"),
{
{ XO("Simple"), XO("Multi-track"), XO("None") },
{ wxT("Simple"), wxT("Multi"), wxT("None") }
},
0,
}

Definition at line 59 of file TracksBehaviorsPrefs.cpp.

Referenced by TracksBehaviorsPrefs::PopulateOrExchange(), ProjectSettings::UpdatePrefs(), and Settings::UpdatePrefs().

gPrefs
FileConfig * gPrefs
Definition: Prefs.cpp:70
XO
#define XO(s)
Definition: Internat.h:31
ByColumns
ByColumns_t ByColumns
Definition: Prefs.cpp:420