Audacity 3.2.0
|
Classes | |
struct | WaveBitmapCacheElementWX |
class | WaveformPainter |
struct | WavePortion |
Typedefs | |
using | ValueFinder = std::function< int(WaveTrack &) > |
Functions | |
graphics::Color | ColorFromWXPen (const wxPen &pen) |
graphics::Color | ColorFromWXBrush (const wxBrush &brush) |
void | DrawWaveform (TrackPanelDrawingContext &context, const WaveTrack &track, const WaveChannelInterval &channelInterval, int leftOffset, double t0, double t1, const wxRect &rect, float zoomMin, float zoomMax, bool dB, float dBRange, bool muted) |
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 | DrawIndividualSamples (TrackPanelDrawingContext &context, int leftOffset, const wxRect &rect, float zoomMin, float zoomMax, bool dB, float dBRange, const WaveChannelInterval &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 WaveChannel &channel, const WaveChannelInterval &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 1100 of file WaveformView.cpp.
graphics::Color anonymous_namespace{WaveformView.cpp}::ColorFromWXBrush | ( | const wxBrush & | brush | ) |
Definition at line 173 of file WaveformView.cpp.
Referenced by DrawWaveform().
graphics::Color anonymous_namespace{WaveformView.cpp}::ColorFromWXPen | ( | const wxPen & | pen | ) |
Definition at line 167 of file WaveformView.cpp.
Referenced by DrawWaveform().
void anonymous_namespace{WaveformView.cpp}::DrawClipWaveform | ( | TrackPanelDrawingContext & | context, |
const WaveChannel & | channel, | ||
const WaveChannelInterval & | clip, | ||
const wxRect & | rect, | ||
bool | dB, | ||
bool | muted, | ||
bool | selected | ||
) |
Definition at line 765 of file WaveformView.cpp.
References WaveChannelView::ClipDetailsVisible(), FrameStatistics::CreateStopwatch(), TrackPanelDrawingContext::dc, TrackArt::DrawClipEdges(), TrackArt::DrawClipFolded(), DrawEnvelope(), DrawIndividualSamples(), TrackArt::DrawNegativeOffsetTrackArrows(), EnvelopeEditor::DrawPoints(), DrawWaveform(), DrawWaveformBackground(), FindWavePortions(), WaveformSettings::Get(), WaveformScale::Get(), TrackArtist::Get(), WaveColorAttachment::Get(), ClipParameters::GetClipRect(), WaveColorAttachment::GetColorIndex(), WaveClipChannel::GetEnvelope(), EnvelopeHandle::GetEnvelope(), CommonChannelView::GetEnvelopeValues(), WaveClipChannel::GetPlayStartTime(), WaveClipChannel::GetRate(), WaveClipChannel::GetStretchRatio(), WaveChannel::GetTrack(), SyncLock::IsSelectedOrSyncLockSelected(), params, anonymous_namespace{ClipSegmentTest.cpp}::sampleRate, settings(), WideSampleSequence::SnapToSample(), TrackPanelDrawingContext::target, and FrameStatistics::WaveformView.
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 725 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 696 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 WaveChannelInterval & | clip, | ||
bool | showPoints, | ||
bool | muted, | ||
bool | highlight | ||
) |
Definition at line 568 of file WaveformView.cpp.
References TrackPanelDrawingContext::dc, floatSample, TrackArtist::Get(), WaveClipChannel::GetEnvelope(), WaveClipChannel::GetPlayStartTime(), WaveClipChannel::GetRate(), WaveClipChannel::GetSamples(), WaveClipChannel::GetStretchRatio(), Envelope::GetValue(), WaveClipChannel::GetVisibleSampleCount(), GetWaveYPos(), AColor::Line(), MAX_AUDIO, min(), Setting< T >::Read(), ArrayOf< X >::reinit(), ShowClippingPref(), WaveChannelViewConstants::StemPlot, AColor::uglyBrush, and AColor::uglyPen.
Referenced by DrawClipWaveform().
void anonymous_namespace{WaveformView.cpp}::DrawTimeSlider | ( | TrackPanelDrawingContext & | context, |
const wxRect & | rect, | ||
bool | rightwards, | ||
bool | highlight | ||
) |
Definition at line 915 of file WaveformView.cpp.
References AColor::Dark(), TrackPanelDrawingContext::dc, AColor::Light(), and AColor::Line().
Referenced by WaveformView::DoDraw().
void anonymous_namespace{WaveformView.cpp}::DrawWaveform | ( | TrackPanelDrawingContext & | context, |
const WaveTrack & | track, | ||
const WaveChannelInterval & | channelInterval, | ||
int | leftOffset, | ||
double | t0, | ||
double | t1, | ||
const wxRect & | rect, | ||
float | zoomMin, | ||
float | zoomMax, | ||
bool | dB, | ||
float | dBRange, | ||
bool | muted | ||
) |
Definition at line 335 of file WaveformView.cpp.
References graphics::Colors::Black, ColorFromWXBrush(), ColorFromWXPen(), TrackPanelDrawingContext::dc, BasicUI::Get(), TrackArtist::Get(), WaveClipChannel::GetChannelIndex(), WaveClipChannel::GetClip(), SyncLock::IsSelectedOrSyncLockSelected(), WavePaintParameters::SetBackgroundColors(), WavePaintParameters::SetBlankColor(), WavePaintParameters::SetClippingColors(), WavePaintParameters::SetDBParameters(), WavePaintParameters::SetDisplayParameters(), WavePaintParameters::SetEnvelope(), WavePaintParameters::SetRMSColors(), WavePaintParameters::SetSampleColors(), WavePaintParameters::SetShowRMS(), WavePaintParameters::SetZeroLineColor(), ShowClippingPref(), and ShowRMSPref().
Referenced by DrawClipWaveform().
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 387 of file WaveformView.cpp.
References details::begin(), TrackPanelDrawingContext::dc, TrackArt::DrawSyncLockTiles(), details::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 539 of file WaveformView.cpp.
References details::end(), and ZoomInfo::FindIntervals().
Referenced by DrawClipWaveform().
const TranslatableString anonymous_namespace{WaveformView.cpp}::GetWaveColorStr | ( | int | colorIndex | ) |
Definition at line 1102 of file WaveformView.cpp.
References XXO().
Referenced by WaveColorMenuTable::OnWaveColorChange().
PopupMenuTable::AttachedItem anonymous_namespace{WaveformView.cpp}::sAttachment |
Definition at line 1169 of file WaveformView.cpp.