24 return std::make_shared<ProjectNumericFormats>(project);
40 : mProject { project }
120 xmlFile.WriteAttr(
wxT(
"selectionformat"),
121 formats.GetSelectionFormat().Internal());
122 xmlFile.WriteAttr(
wxT(
"frequencyformat"),
123 formats.GetFrequencySelectionFormatName().Internal());
124 xmlFile.WriteAttr(
wxT(
"bandwidthformat"),
125 formats.GetBandwidthSelectionFormatName().Internal());
135 {
"selectionformat", [](
auto &formats,
auto value){
139 {
"frequencyformat", [](
auto &formats,
auto value){
140 formats.SetFrequencySelectionFormatName(formats.LookupFormat(
143 {
"bandwidthformat", [](
auto &formats,
auto value){
144 formats.SetBandwidthSelectionFormatName(formats.LookupFormat(
gPrefs Read(wxT("/GUI/VerticalZooming"), &bVZoom, false)
const NumericConverterType & NumericConverterType_BANDWIDTH()
const NumericConverterType & NumericConverterType_FREQUENCY()
const NumericConverterType & NumericConverterType_TIME()
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Client code makes static instance from a factory of attachments; passes it to Get or Find as a retrie...
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
A context in which formatter operates.
static FormatterContext ProjectContext(const AudacityProject &project)
An explicitly nonlocalized string, not meant for the user to see.
Base class for XMLFileWriter and XMLStringWriter that provides the general functionality for creating...
Typically statically constructed.