Audacity 3.2.0
|
#include <SpectrogramSettings.h>
Private Member Functions | |
void | Migrate (wxString &value) override |
Additional Inherited Members | |
Public Member Functions inherited from EnumSetting< ColorScheme > | |
EnumSetting (Key &&key, EnumValueSymbols symbols, long defaultSymbol, std::vector< ColorScheme > values, const wxString &oldKey={}) | |
ColorScheme | ReadEnum () const |
ColorScheme | ReadEnumWithDefault (ColorScheme defaultValue) const |
bool | WriteEnum (ColorScheme 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) |
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 163 of file SpectrogramSettings.h.
|
overrideprivatevirtual |
Reimplemented from EnumSettingBase.
Definition at line 258 of file SpectrogramSettings.cpp.
References SpectrogramSettings::csGrayscale, audacity::BasicSettings::Flush(), SpectrogramSettings::GetColorSchemeNames(), gPrefs, audacity::BasicSettings::Read(), Setting< T >::Read(), anonymous_namespace{SpectrogramSettings.cpp}::SpectrumGrayscale, ChoiceSetting::Write(), and wxT().