Module slider

Source

Structsยง

Slider
Control a number with a slider.
SliderSpec ๐Ÿ”’

Enumsยง

SliderClamping
Specifies how values in a Slider are clamped.
SliderOrientation
Specifies the orientation of a Slider.

Constantsยง

INFINITY ๐Ÿ”’
INF_RANGE_MAGNITUDE ๐Ÿ”’
When the user asks for an infinitely large range (e.g. logarithmic from zero), give a scale that this many orders of magnitude in size.

Functionsยง

get ๐Ÿ”’
logarithmic_zero_cutoff ๐Ÿ”’
where to put the zero cutoff for logarithmic sliders that crosses zero ?
normalized_from_value ๐Ÿ”’
range_log10 ๐Ÿ”’
set ๐Ÿ”’
value_from_normalized ๐Ÿ”’

Type Aliasesยง

GetSetValue ๐Ÿ”’
Combined into one function (rather than two) to make it easier for the borrow checker.
NumFormatter ๐Ÿ”’
NumParser ๐Ÿ”’