Function ui_slider
#include <macawui.h>int ui_slider(
const char *label,
double *v,
double min,
double max,
double step
);
Shows a slider for picking a number between two others. The arrow keys move it too.
Parameters
labelconst char *- The text to its left.
NULLor""for none. vdouble *- The address of a
doubleof yours with the value. Dragging changes it. mindouble- The value at the left end.
maxdouble- The value at the right end.
stepdouble- The slider moves in steps of this size from
min. 0 lets it take any value.
Returns int
1 in the frame *v changes, 0 otherwise.
In Widgets, with ui_label, ui_heading, ui_separator, ui_button, ui_checkbox, ui_radio, ui_textbox, ui_textboxex, ui_listbox, ui_dropdown, ui_tabs, ui_progress, ui_swatches, ui_image.