Audacity 3.2.0
Functions
anonymous_namespace{WaveformVRulerControls.cpp} Namespace Reference

Functions

void SetLastdBRange (WaveformScale &cache, const WaveChannel &wc)
 
void SetLastScaleType (WaveformScale &cache, const WaveChannel &wc)
 

Function Documentation

◆ SetLastdBRange()

void anonymous_namespace{WaveformVRulerControls.cpp}::SetLastdBRange ( WaveformScale cache,
const WaveChannel wc 
)

Definition at line 126 of file WaveformVRulerControls.cpp.

128{
129 cache.SetLastDBRange(WaveformSettings::Get(wc).dBRange);
130}
void SetLastDBRange(int range)
Definition: WaveformScale.h:49
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 WaveChannel wc 
)

Definition at line 132 of file WaveformVRulerControls.cpp.

134{
135 cache.SetLastScaleType(WaveformSettings::Get(wc).scaleType);
136}
void SetLastScaleType(int type)
Definition: WaveformScale.h:46

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: