Audacity 3.2.0
Variables
WaveformAppearance.cpp File Reference
#include "WaveformAppearance.h"
#include "WaveClip.h"
Include dependency graph for WaveformAppearance.cpp:

Go to the source code of this file.

Variables

static const AttachedTrackObjects::RegisteredFactory keyWA
 
static constexpr auto ColorIndex_attr = "colorindex"
 
static WaveClip::Attachments::RegisteredFactory keyWCA
 

Variable Documentation

◆ ColorIndex_attr

constexpr auto ColorIndex_attr = "colorindex"
staticconstexpr

◆ keyWA

Initial value:
{
[](Track &track) -> std::shared_ptr<WaveformAppearance> {
if (const auto pTrack = dynamic_cast<WaveTrack *>(&track))
return std::make_shared<WaveformAppearance>(*pTrack);
else
return nullptr;
}
}
Abstract base class for an object holding data associated with points on a time axis.
Definition: Track.h:110
A Track that contains audio waveform data.
Definition: WaveTrack.h:203

Definition at line 16 of file WaveformAppearance.cpp.

Referenced by WaveformAppearance::Get().

◆ keyWCA

WaveClip::Attachments::RegisteredFactory keyWCA
static
Initial value:
{ [](WaveClip &clip) {
return std::make_unique<WaveColorAttachment>();
} }
This allows multiple clips to be a part of one WaveTrack.
Definition: WaveClip.h:238

Definition at line 127 of file WaveformAppearance.cpp.

Referenced by WaveColorAttachment::Get().