GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
A slider widget. More...
Go to the source code of this file.
Functions | |
gp_widget * | gp_widget_spinner_new (int64_t min, int64_t max, int64_t val) |
Allocate and initialize a spinner widget. | |
A slider widget.
Spinner is an integer class widget, after it's created it's changed by the class functions such as gp_widget_int_val_set().
Attribute | Type | Default | Description |
---|---|---|---|
max | int64 | 0 | A slider maximum. |
min | int64 | 0 | A slider minimum. |
val | int64 | 0 | A slider value. |
Definition in file gp_widget_spinner.h.
gp_widget * gp_widget_spinner_new | ( | int64_t | min, |
int64_t | max, | ||
int64_t | val | ||
) |
Allocate and initialize a spinner widget.
min | Spinner minimum. |
max | min Spinner maximum. |
val | Initial spinner value. |