Audacity 3.2.0
Functions
anonymous_namespace{WaveformVRulerControls.cpp} Namespace Reference

Functions

void SetLastdBRange (WaveformScale &cache, const WaveTrack &track)
 
void SetLastScaleType (WaveformScale &cache, const WaveTrack &track)
 

Function Documentation

◆ SetLastdBRange()

void anonymous_namespace{WaveformVRulerControls.cpp}::SetLastdBRange ( WaveformScale cache,
const WaveTrack track 
)

Definition at line 122 of file WaveformVRulerControls.cpp.

124{
125 cache.SetLastDBRange(WaveformSettings::Get(track).dBRange);
126}
void SetLastDBRange(int range)
static WaveformSettings & Get(const WaveTrack &track)

References WaveformSettings::Get(), and WaveformScale::SetLastDBRange().

Referenced by WaveformVRulerControls::DoHandleWheelRotation(), and WaveformVRulerControls::DoUpdateVRuler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetLastScaleType()

void anonymous_namespace{WaveformVRulerControls.cpp}::SetLastScaleType ( WaveformScale cache,
const WaveTrack track 
)

Definition at line 128 of file WaveformVRulerControls.cpp.

130{
131 cache.SetLastScaleType(WaveformSettings::Get(track).scaleType);
132}
void SetLastScaleType(int type)

References WaveformSettings::Get(), and WaveformScale::SetLastScaleType().

Referenced by WaveformVRulerControls::DoUpdateVRuler().

Here is the call graph for this function:
Here is the caller graph for this function: