Audacity 3.2.0
|
Public Member Functions | |
void | Migrate (wxString &value) override |
Public Member Functions inherited from EnumSetting< WaveChannelViewConstants::Display > | |
EnumSetting (Key &&key, EnumValueSymbols symbols, long defaultSymbol, std::vector< WaveChannelViewConstants::Display > values, const wxString &oldKey={}) | |
WaveChannelViewConstants::Display | ReadEnum () const |
WaveChannelViewConstants::Display | ReadEnumWithDefault (WaveChannelViewConstants::Display defaultValue) const |
bool | WriteEnum (WaveChannelViewConstants::Display value) |
Public Member Functions inherited from EnumSettingBase | |
template<typename Key > | |
EnumSettingBase (Key &&key, EnumValueSymbols symbols, long defaultSymbol, std::vector< int > intValues, const wxString &oldKey={}) | |
Public Member Functions inherited from ChoiceSetting | |
ChoiceSetting (const SettingPath &, EnumValueSymbols, long=-1)=delete | |
ChoiceSetting (TransactionalSettingBase &key, EnumValueSymbols symbols, long defaultSymbol=-1) | |
ChoiceSetting (const SettingBase &key, EnumValueSymbols symbols, long defaultSymbol=-1) | |
const wxString & | Key () const |
const EnumValueSymbol & | Default () const |
const EnumValueSymbols & | GetSymbols () const |
wxString | Read () const |
wxString | ReadWithDefault (const wxString &) const |
bool | Write (const wxString &value) |
void | SetDefault (long value) |
Additional Inherited Members | |
Protected Member Functions inherited from EnumSettingBase | |
int | ReadInt () const |
int | ReadIntWithDefault (int defaultValue) const |
bool | WriteInt (int code) |
size_t | FindInt (int code) const |
void | Migrate (wxString &) override |
Protected Member Functions inherited from ChoiceSetting | |
size_t | Find (const wxString &value) const |
virtual void | Migrate (wxString &) |
Protected Attributes inherited from ChoiceSetting | |
const wxString | mKey |
const EnumValueSymbols | mSymbols |
TransactionalSettingBase *const | mpOtherSettings {} |
bool | mMigrated { false } |
long | mDefaultSymbol |
Definition at line 73 of file TracksPrefs.cpp.
|
inlineoverridevirtual |
Reimplemented from ChoiceSetting.
Definition at line 78 of file TracksPrefs.cpp.
References WaveChannelViewConstants::ConvertLegacyDisplayValue(), WaveformSettings::dbLogValueString, audacity::BasicSettings::Flush(), gPrefs, anonymous_namespace{TracksPrefs.cpp}::key0, anonymous_namespace{TracksPrefs.cpp}::key1, anonymous_namespace{TracksPrefs.cpp}::key2, anonymous_namespace{TracksPrefs.cpp}::key3, anonymous_namespace{TracksPrefs.cpp}::obsoleteValue, WaveChannelViewConstants::obsoleteWaveformDBDisplay, audacity::BasicSettings::Read(), WaveChannelViewConstants::Spectrum, WaveChannelViewConstants::Waveform, WaveformSettings::waveformScaleKey, audacity::BasicSettings::Write(), ChoiceSetting::Write(), and XO().