Audacity 3.2.0
Functions | Variables
anonymous_namespace{NumericTextCtrl.cpp} Namespace Reference

Functions

const BuiltinFormatStringChooseBuiltinFormatStrings (NumericConverter::Type type)
 
size_t ChooseNBuiltinFormatStrings (NumericConverter::Type type)
 

Variables

static const BuiltinFormatString TimeConverterFormats_ []
 array of formats the control knows about internally array of string pairs for name of the format and the format string needed to create that format output. This is used for the pop-up list of formats to choose from in the control.
More...
 
static const BuiltinFormatString FrequencyConverterFormats_ []
 array of formats the control knows about internally array of string pairs for name of the format and the format string needed to create that format output. This is used for the pop-up list of formats to choose from in the control. More...
 
static const BuiltinFormatString BandwidthConverterFormats_ []
 array of formats the control knows about internally array of string pairs for name of the format and the format string needed to create that format output. This is used for the pop-up list of formats to choose from in the control. More...
 

Function Documentation

◆ ChooseBuiltinFormatStrings()

const BuiltinFormatString * anonymous_namespace{NumericTextCtrl.cpp}::ChooseBuiltinFormatStrings ( NumericConverter::Type  type)

Definition at line 666 of file NumericTextCtrl.cpp.

668 {
669 switch (type) {
670 default:
677 }
678 }
static const BuiltinFormatString BandwidthConverterFormats_[]
array of formats the control knows about internally array of string pairs for name of the format and ...
static const BuiltinFormatString FrequencyConverterFormats_[]
array of formats the control knows about internally array of string pairs for name of the format and ...
static const BuiltinFormatString TimeConverterFormats_[]
array of formats the control knows about internally array of string pairs for name of the format and ...

References NumericConverter::BANDWIDTH, BandwidthConverterFormats_, NumericConverter::FREQUENCY, FrequencyConverterFormats_, NumericConverter::TIME, and TimeConverterFormats_.

Referenced by NumericConverter::LookupFormat().

Here is the caller graph for this function:

◆ ChooseNBuiltinFormatStrings()

size_t anonymous_namespace{NumericTextCtrl.cpp}::ChooseNBuiltinFormatStrings ( NumericConverter::Type  type)

Definition at line 680 of file NumericTextCtrl.cpp.

682 {
683 switch (type) {
684 default:
686 return WXSIZEOF(TimeConverterFormats_);
688 return WXSIZEOF(FrequencyConverterFormats_);
690 return WXSIZEOF(BandwidthConverterFormats_);
691 }
692 }

References NumericConverter::BANDWIDTH, BandwidthConverterFormats_, NumericConverter::FREQUENCY, FrequencyConverterFormats_, NumericConverter::TIME, and TimeConverterFormats_.

Referenced by NumericConverter::LookupFormat().

Here is the caller graph for this function:

Variable Documentation

◆ BandwidthConverterFormats_

const BuiltinFormatString anonymous_namespace{NumericTextCtrl.cpp}::BandwidthConverterFormats_[]
static

array of formats the control knows about internally array of string pairs for name of the format and the format string needed to create that format output. This is used for the pop-up list of formats to choose from in the control.

Definition at line 620 of file NumericTextCtrl.cpp.

Referenced by ChooseBuiltinFormatStrings(), and ChooseNBuiltinFormatStrings().

◆ FrequencyConverterFormats_

const BuiltinFormatString anonymous_namespace{NumericTextCtrl.cpp}::FrequencyConverterFormats_[]
static
Initial value:
= {
{
{ XO("Hz") },
{
, XO("centihertz")
}
},
{
{ XO("kHz") },
{
, XO("hertz")
}
},
}
XO("Cut/Copy/Paste")

array of formats the control knows about internally array of string pairs for name of the format and the format string needed to create that format output. This is used for the pop-up list of formats to choose from in the control.

Definition at line 588 of file NumericTextCtrl.cpp.

Referenced by ChooseBuiltinFormatStrings(), ChooseNBuiltinFormatStrings(), and NumericConverter::HertzFormat().

◆ TimeConverterFormats_

const BuiltinFormatString anonymous_namespace{NumericTextCtrl.cpp}::TimeConverterFormats_[]
static

array of formats the control knows about internally array of string pairs for name of the format and the format string needed to create that format output. This is used for the pop-up list of formats to choose from in the control.

Definition at line 368 of file NumericTextCtrl.cpp.

Referenced by ChooseBuiltinFormatStrings(), ChooseNBuiltinFormatStrings(), NumericConverter::DefaultSelectionFormat(), NumericConverter::HoursMinsSecondsFormat(), NumericConverter::HundredthsFormat(), NumericConverter::SecondsFormat(), and NumericConverter::TimeAndSampleFormat().