|
ginnOS
The reference: libc, the libraries and the kernel
|
idunn: a slider: a 4 pixel round track in the muted colour, filled with the accent up to a 16 pixel thumb. More...
Macros | |
| #define | HEIGHT 16 |
| #define | TRACK 4 |
| #define | THUMB 16 |
| #define | WIDTH 200 |
Functions | |
| idunn_widget_t * | idunn_slider (int32_t min, int32_t max, int32_t step, int32_t value, idunn_callback_t on_change, void *data) |
| a slider from min to max in steps (the arrows move it by one step). | |
| int32_t | idunn_slider_value (const idunn_widget_t *slider) |
| void | idunn_slider_set_value (idunn_widget_t *slider, int32_t value) |
idunn: a slider: a 4 pixel round track in the muted colour, filled with the accent up to a 16 pixel thumb.
a press puts the thumb under the pointer and dragging moves it; the arrows move it by a step, Page Up and Page Down by ten, Home and End to the ends.
| #define HEIGHT 16 |
| #define TRACK 4 |
| #define THUMB 16 |
| #define WIDTH 200 |
| idunn_widget_t * idunn_slider | ( | int32_t | min, |
| int32_t | max, | ||
| int32_t | step, | ||
| int32_t | value, | ||
| idunn_callback_t | on_change, | ||
| void * | data ) |
a slider from min to max in steps (the arrows move it by one step).
| int32_t idunn_slider_value | ( | const idunn_widget_t * | slider | ) |
| void idunn_slider_set_value | ( | idunn_widget_t * | slider, |
| int32_t | value ) |