19 enum class OldValues {
28 switch ((OldValues)oldValue) {
32 case OldValues::WaveformDB:
34 case OldValues::Spectrogram:
35 case OldValues::SpectrogramLogF:
36 case OldValues::Pitch:
52 using Types = std::vector< Type >;
56 types.emplace_back( std::move( type ) );
63 auto begin = types.begin(),
end = types.end();
66 wxASSERT(
end == std::adjacent_find(
begin,
end ) );
91 ->
const std::vector<WaveChannelSubViewType> &
106 wxT(
"Multiview"),
XXO(
"&Multi-view")
XXO("&Cut/Copy/Paste Toolbar")
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
std::vector< Type > Types
WAVE_TRACK_API Display ConvertLegacyDisplayValue(int oldValue)
@ obsoleteWaveformDBDisplay
WAVE_TRACK_API const EnumValueSymbol MultiViewSymbol
String identifier for a preference for one of each type of view.
const char * end(const char *str) noexcept
const char * begin(const char *str) noexcept
RegisteredType(WaveChannelSubViewType type)
static Display Default()
Return a preferred type.
static const std::vector< WaveChannelSubViewType > & All()
Discover all registered types.