Audacity 3.2.0
|
Classes | |
struct | DefaultFormatRegistrator |
Functions | |
NumericFormatSymbol | Default (const NumericConverterType &type) |
Returns the default format for the type or empty symbol, if no default symbol is registered. More... | |
NUMERIC_FORMATS_API NumericFormatSymbol | Lookup (const FormatterContext &context, const NumericConverterType &type, const NumericFormatID &formatIdentifier) |
Looks up the format, returns Default for the type if the format is not registered. More... | |
NUMERIC_FORMATS_API NumericFormatSymbol | DefaultSelectionFormat () |
NUMERIC_FORMATS_API NumericFormatSymbol | TimeAndSampleFormat () |
NUMERIC_FORMATS_API NumericFormatSymbol | SecondsFormat () |
NUMERIC_FORMATS_API NumericFormatSymbol | HoursMinsSecondsFormat () |
NUMERIC_FORMATS_API NumericFormatSymbol | MillisecondsFormat () |
NUMERIC_FORMATS_API NumericFormatSymbol | HundredthsFormat () |
NUMERIC_FORMATS_API NumericFormatSymbol | HertzFormat () |
NUMERIC_FORMATS_API NumericFormatSymbol | OctavesFormat () |
NUMERIC_FORMATS_API NumericFormatID | GetBestDurationFormat (const NumericFormatID &timeFormat) |
Return the best duration format for the given time format. Currently is an identity function. More... | |
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::Default | ( | const NumericConverterType & | type | ) |
Returns the default format for the type or empty symbol, if no default symbol is registered.
Definition at line 47 of file NumericConverterFormats.cpp.
References anonymous_namespace{NumericConverterFormats.cpp}::GetDefaultSymbols().
Referenced by Lookup().
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::DefaultSelectionFormat | ( | ) |
Definition at line 78 of file NumericConverterFormats.cpp.
References MillisecondsFormat().
Referenced by ChangeSpeedBase::ChangeSpeedBase(), EffectBase::DoEffect(), and ChangeSpeedBase::DoLoadFactoryDefaults().
NUMERIC_FORMATS_API NumericFormatID NumericConverterFormats::GetBestDurationFormat | ( | const NumericFormatID & | timeFormat | ) |
Return the best duration format for the given time format. Currently is an identity function.
Definition at line 130 of file NumericConverterFormats.cpp.
Referenced by SelectionBar::UpdateTimeControlsFormat().
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::HertzFormat | ( | ) |
Definition at line 117 of file NumericConverterFormats.cpp.
References XO().
Referenced by Grid::Grid().
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::HoursMinsSecondsFormat | ( | ) |
Definition at line 96 of file NumericConverterFormats.cpp.
References XO().
Referenced by Effect::GetSelectionFormat(), and TimeToolBar::SetToDefaultSize().
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::HundredthsFormat | ( | ) |
Definition at line 110 of file NumericConverterFormats.cpp.
References XO().
Referenced by ContrastDialog::ContrastDialog().
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::Lookup | ( | const FormatterContext & | context, |
const NumericConverterType & | type, | ||
const NumericFormatID & | formatIdentifier | ||
) |
Looks up the format, returns Default for the type if the format is not registered.
Definition at line 62 of file NumericConverterFormats.cpp.
References Default(), Identifier::empty(), and NumericConverterRegistry::Find().
Referenced by ProjectSerializer::Decode(), ProjectNumericFormats::LookupFormat(), LabelDialog::OnFreqUpdate(), EffectChangeSpeed::OnTimeCtrlUpdate(), LabelDialog::OnUpdate(), EffectChangeSpeed::PopulateOrExchange(), NumericConverter::SetFormatName(), and SelectionBar::UpdatePrefs().
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::MillisecondsFormat | ( | ) |
Definition at line 103 of file NumericConverterFormats.cpp.
References XO().
Referenced by DefaultSelectionFormat().
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::OctavesFormat | ( | ) |
Definition at line 123 of file NumericConverterFormats.cpp.
References XO().
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::SecondsFormat | ( | ) |
Definition at line 90 of file NumericConverterFormats.cpp.
References XO().
Referenced by Grid::Grid().
NUMERIC_FORMATS_API NumericFormatSymbol NumericConverterFormats::TimeAndSampleFormat | ( | ) |
Definition at line 83 of file NumericConverterFormats.cpp.
References XO().
Referenced by EffectBase::DoEffect().