28 static NumericField ForRange(
size_t range,
bool zeropad =
true,
size_t minDigits = 0);
29 static NumericField WithDigits(
size_t digits,
bool zeropad =
true);
72 virtual void UpdateFormatForValue(
double value,
bool canShrink);
77 virtual std::optional<double>
80 virtual double SingleStep(
double value,
int digitIndex,
bool upwards)
const = 0;
82 const wxString& GetPrefix()
const;
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
An object that sends messages to an open-ended list of subscribed callbacks.
constexpr size_t npos(-1)
NumericField(const NumericField &)=default
NumericField & operator=(const NumericField &)=default