Function ui_checkbox
#include <macawui.h>int ui_checkbox(const char *label, int *on);
Shows a tick box. A click ticks it or takes the tick away.
Parameters
labelconst char *- The text beside the box.
onint *- The address of an
intof yours: 1 ticked, 0 not. A click changes it.
Returns int
1 in the frame it's changed, 0 otherwise.
In Widgets, with ui_label, ui_heading, ui_separator, ui_button, ui_radio, ui_slider, ui_textbox, ui_textboxex, ui_listbox, ui_dropdown, ui_tabs, ui_progress, ui_swatches, ui_image.