Test of sliders and meters (gauges)
Sliders
Sliders can be horizontal (first 3 rows) or vertical (fourth row).
The value is given above (or for vertical sliders, at left). It is formatted with C-like format, and the format string can include any unit. For each slider, the minimum (min) and maximum (max) values and the number of positions (n) can be specified. The initial value, if not equal to min, can be configured (row 2, and 4). A logarithmic variation can be configured (blue slider at row 3).
Callback functions can be configured to be called on slider change. There are two possible callbacks:
- fast_callback: the function is called as soon as the slider is moved (row 1: value with yellow background)
- slow_callback: the function is called only when the slider is released (row 1: value with blue background)
Meters
Several kinds of meters exist :
- Analog meters: round shape with a red needle. (row 1, 2 and 4 right).
- Digital meters: display only the value (row 1 and 3).
- Low Meter: the direction of the flow is given by moving triangles. The speed and shape of these triangles depend on the value (row 2)
Back to project page