Audacity 3.2.0
|
Classes | |
struct | ChannelCaches |
Public Member Functions | |
WaveformPainter () | |
WaveformPainter & | EnsureClip (const WaveClip &clip) |
void | SetSelection (const ZoomInfo &zoomInfo, float t0, float t1, bool selected) |
void | Draw (int channelIndex, wxDC &dc, const WavePaintParameters ¶ms, const ZoomInfo &zoomInfo, const wxRect &targetRect, int leftOffset, double from, double to) |
void | SwapChannels () override |
Default implementation does nothing. More... | |
void | MarkChanged () noexcept override |
void | Invalidate () override |
std::unique_ptr< WaveClipListener > | Clone () const override |
Public Member Functions inherited from WaveClipListener | |
virtual | ~WaveClipListener ()=0 |
virtual void | MarkChanged () noexcept=0 |
virtual void | Invalidate ()=0 |
virtual void | WriteXMLAttributes (XMLWriter &writer) const |
virtual bool | HandleXMLAttribute (const std::string_view &attr, const XMLAttributeValueView &valueView) |
virtual void | MakeStereo (WaveClipListener &&other, bool aligned) |
virtual void | SwapChannels () |
Default implementation does nothing. More... | |
virtual void | Erase (size_t index) |
Static Public Member Functions | |
static WaveformPainter & | Get (const WaveClip &clip) |
Private Attributes | |
const WaveClip * | mWaveClip {} |
std::vector< ChannelCaches > | mChannelCaches |
std::atomic< bool > | mChanged = false |
Definition at line 212 of file WaveformView.cpp.
|
inline |
Definition at line 219 of file WaveformView.cpp.
|
inlineoverride |
Definition at line 317 of file WaveformView.cpp.
|
inline |
Definition at line 259 of file WaveformView.cpp.
References GraphicsDataCacheBase::CacheElementWidth, anonymous_namespace{WaveformView.cpp}::WaveBitmapCacheElementWX::GetBitmap(), and params.
|
inline |
Definition at line 223 of file WaveformView.cpp.
References WaveClip::NChannels().
|
static |
Definition at line 1197 of file WaveformView.cpp.
References sKeyW.
|
inlineoverridevirtual |
Implements WaveClipListener.
Definition at line 308 of file WaveformView.cpp.
|
inlineoverridevirtualnoexcept |
Implements WaveClipListener.
Definition at line 301 of file WaveformView.cpp.
|
inline |
Definition at line 253 of file WaveformView.cpp.
|
inlineoverridevirtual |
Default implementation does nothing.
Reimplemented from WaveClipListener.
Definition at line 294 of file WaveformView.cpp.
|
private |
Definition at line 332 of file WaveformView.cpp.
|
private |
Definition at line 331 of file WaveformView.cpp.
|
private |
Definition at line 323 of file WaveformView.cpp.