Predefined unit types.
More...
|
| enum | Type {
Generic
,
Percent
,
PercentNormalized
,
Seconds
,
MilliSeconds
,
Hertz
,
Decibels
,
LinearGain
,
UviFilter
,
Pan
,
Megabyte
,
SemiTones
,
Cents
,
MidiKey
} |
| | Unit type. More...
|
| |
Predefined unit types.
Units are named after the type of data they represented
Example:
Knob widget.
Definition ui.cpp:1424
Predefined unit types.
Definition ui.cpp:592
@ PercentNormalized
display % symbol but actual value is in the 0..1 range
Definition ui.cpp:607
◆ Type
Unit type.
| Enumerator |
|---|
| Generic | no unit
|
| Percent | display % symbol
|
| PercentNormalized | display % symbol but actual value is in the 0..1 range
|
| Seconds | display s symbol.
Switches to ms below 1 s.
|
| MilliSeconds | display ms symbol.
Switches to s above 1000 ms.
|
| Hertz | display Hz symbol.
Switches to kHz above 1000 Hz.
|
| Decibels | display dB symbol
|
| LinearGain | display dB symbol but with normalized gain
|
| UviFilter | display filter frequency with UVI filter-specific formatting
|
| Pan | display -1;1 pan value type
|
| Megabyte | display MB symbol
|
| SemiTones | display semitones symbol
|
| Cents | display cents symbol.
Switches to semitones above 100 cents.
|
| MidiKey | display int value into MIDI value (ex C3)
|