![]() |
Audacity 3.2.0
|
Classes | |
struct | WavePortion |
Typedefs | |
using | ValueFinder = std::function< int(WaveTrack &) > |
Functions | |
void | DrawWaveformBackground (TrackPanelDrawingContext &context, int leftOffset, const wxRect &rect, const double env[], float zoomMin, float zoomMax, int zeroLevelYCoordinate, bool dB, float dBRange, double t0, double t1, bool bIsSyncLockSelected, bool highlightEnvelope) |
void | FindWavePortions (std::vector< WavePortion > &portions, const wxRect &rect, const ZoomInfo &zoomInfo, const ClipParameters ¶ms) |
void | DrawMinMaxRMS (TrackPanelDrawingContext &context, const wxRect &rect, const double env[], float zoomMin, float zoomMax, bool dB, float dBRange, const float *min, const float *max, const float *rms, const int *bl, bool muted) |
void | DrawIndividualSamples (TrackPanelDrawingContext &context, int leftOffset, const wxRect &rect, float zoomMin, float zoomMax, bool dB, float dBRange, const WaveClip *clip, bool showPoints, bool muted, bool highlight) |
void | DrawEnvLine (TrackPanelDrawingContext &context, const wxRect &rect, int x0, int y0, int cy, bool top) |
void | DrawEnvelope (TrackPanelDrawingContext &context, const wxRect &rect, const double env[], float zoomMin, float zoomMax, bool dB, float dBRange, bool highlight) |
void | DrawClipWaveform (TrackPanelDrawingContext &context, const WaveTrack *track, const WaveClip *clip, const wxRect &rect, bool dB, bool muted, bool selected) |
void | DrawTimeSlider (TrackPanelDrawingContext &context, const wxRect &rect, bool rightwards, bool highlight) |
const TranslatableString | GetWaveColorStr (int colorIndex) |
Variables | |
PopupMenuTable::AttachedItem | sAttachment |
using anonymous_namespace{WaveformView.cpp}::ValueFinder = typedef std::function< int( WaveTrack& ) > |
Definition at line 1123 of file WaveformView.cpp.
void anonymous_namespace{WaveformView.cpp}::DrawClipWaveform | ( | TrackPanelDrawingContext & | context, |
const WaveTrack * | track, | ||
const WaveClip * | clip, | ||
const wxRect & | rect, | ||
bool | dB, | ||
bool | muted, | ||
bool | selected | ||
) |
Definition at line 678 of file WaveformView.cpp.
References WaveDisplay::Allocate(), anonymous_namespace{WaveformView.cpp}::WavePortion::averageZoom, WaveDisplay::bl, WaveTrackView::ClipDetailsVisible(), FrameStatistics::CreateStopwatch(), TrackPanelDrawingContext::dc, TrackArt::DrawClipEdges(), TrackArt::DrawClipFolded(), DrawEnvelope(), DrawIndividualSamples(), DrawMinMaxRMS(), TrackArt::DrawNegativeOffsetTrackArrows(), EnvelopeEditor::DrawPoints(), DrawWaveformBackground(), FindWavePortions(), WaveClipWaveformCache::Get(), WaveformSettings::Get(), WaveformScale::Get(), TrackArtist::Get(), ClipParameters::GetClipRect(), WaveClip::GetColourIndex(), WaveClip::GetEnvelope(), EnvelopeHandle::GetEnvelope(), CommonTrackView::GetEnvelopeValues(), WaveClip::GetPlaySamplesCount(), Track::GetSelected(), SampleHandle::GetTrack(), anonymous_namespace{WaveformView.cpp}::WavePortion::inFisheye, SyncLock::IsSelectedOrSyncLockSelected(), SampleTrack::LongSamplesToTime(), WaveDisplay::max, WaveDisplay::min, params, anonymous_namespace{WaveformView.cpp}::WavePortion::rect, WaveDisplay::rms, settings(), TrackPanelDrawingContext::target, SampleTrack::TimeToLongSamples(), FrameStatistics::WaveformView, WaveDisplay::where, and WaveDisplay::width.
Referenced by WaveformView::DoDraw().
void anonymous_namespace{WaveformView.cpp}::DrawEnvelope | ( | TrackPanelDrawingContext & | context, |
const wxRect & | rect, | ||
const double | env[], | ||
float | zoomMin, | ||
float | zoomMax, | ||
bool | dB, | ||
float | dBRange, | ||
bool | highlight | ||
) |
Definition at line 638 of file WaveformView.cpp.
References TrackPanelDrawingContext::dc, DrawEnvLine(), AColor::envelopePen, GetWaveYPos(), and AColor::uglyPen.
Referenced by DrawClipWaveform().
void anonymous_namespace{WaveformView.cpp}::DrawEnvLine | ( | TrackPanelDrawingContext & | context, |
const wxRect & | rect, | ||
int | x0, | ||
int | y0, | ||
int | cy, | ||
bool | top | ||
) |
Definition at line 609 of file WaveformView.cpp.
References TrackPanelDrawingContext::dc, and AColor::Line().
Referenced by DrawEnvelope().
void anonymous_namespace{WaveformView.cpp}::DrawIndividualSamples | ( | TrackPanelDrawingContext & | context, |
int | leftOffset, | ||
const wxRect & | rect, | ||
float | zoomMin, | ||
float | zoomMax, | ||
bool | dB, | ||
float | dBRange, | ||
const WaveClip * | clip, | ||
bool | showPoints, | ||
bool | muted, | ||
bool | highlight | ||
) |
Definition at line 483 of file WaveformView.cpp.
References TrackPanelDrawingContext::dc, floatSample, TrackArtist::Get(), WaveClip::GetEnvelope(), WaveClip::GetPlaySamplesCount(), WaveClip::GetPlayStartTime(), WaveClip::GetRate(), WaveClip::GetSamples(), Envelope::GetValue(), GetWaveYPos(), AColor::Line(), MAX_AUDIO, min(), ArrayOf< X >::reinit(), WaveTrackViewConstants::StemPlot, AColor::uglyBrush, and AColor::uglyPen.
Referenced by DrawClipWaveform().
void anonymous_namespace{WaveformView.cpp}::DrawMinMaxRMS | ( | TrackPanelDrawingContext & | context, |
const wxRect & | rect, | ||
const double | env[], | ||
float | zoomMin, | ||
float | zoomMax, | ||
bool | dB, | ||
float | dBRange, | ||
const float * | min, | ||
const float * | max, | ||
const float * | rms, | ||
const int * | bl, | ||
bool | muted | ||
) |
Definition at line 331 of file WaveformView.cpp.
References TrackPanelDrawingContext::dc, TrackArtist::Get(), GetWaveYPos(), AColor::Line(), MAX_AUDIO, min(), and ArrayOf< X >::reinit().
Referenced by DrawClipWaveform().
void anonymous_namespace{WaveformView.cpp}::DrawTimeSlider | ( | TrackPanelDrawingContext & | context, |
const wxRect & | rect, | ||
bool | rightwards, | ||
bool | highlight | ||
) |
Definition at line 933 of file WaveformView.cpp.
References AColor::Dark(), TrackPanelDrawingContext::dc, AColor::Light(), and AColor::Line().
Referenced by WaveformView::DoDraw().
void anonymous_namespace{WaveformView.cpp}::DrawWaveformBackground | ( | TrackPanelDrawingContext & | context, |
int | leftOffset, | ||
const wxRect & | rect, | ||
const double | env[], | ||
float | zoomMin, | ||
float | zoomMax, | ||
int | zeroLevelYCoordinate, | ||
bool | dB, | ||
float | dBRange, | ||
double | t0, | ||
double | t1, | ||
bool | bIsSyncLockSelected, | ||
bool | highlightEnvelope | ||
) |
Definition at line 150 of file WaveformView.cpp.
References PackedArray::begin(), TrackPanelDrawingContext::dc, TrackArt::DrawSyncLockTiles(), PackedArray::end(), TrackArtist::Get(), GetWaveYPos(), AColor::Line(), min(), and AColor::uglyBrush.
Referenced by DrawClipWaveform().
void anonymous_namespace{WaveformView.cpp}::FindWavePortions | ( | std::vector< WavePortion > & | portions, |
const wxRect & | rect, | ||
const ZoomInfo & | zoomInfo, | ||
const ClipParameters & | params | ||
) |
Definition at line 301 of file WaveformView.cpp.
References PackedArray::end(), ZoomInfo::FindIntervals(), and params.
Referenced by DrawClipWaveform().
const TranslatableString anonymous_namespace{WaveformView.cpp}::GetWaveColorStr | ( | int | colorIndex | ) |
Definition at line 1125 of file WaveformView.cpp.
References XXO().
Referenced by WaveColorMenuTable::OnWaveColorChange().
PopupMenuTable::AttachedItem anonymous_namespace{WaveformView.cpp}::sAttachment |
Definition at line 1192 of file WaveformView.cpp.