Function ui_radio
#include <macawui.h>int ui_radio(const char *label, int *choice, int value);
Shows one choice of a set, where only one can be picked. Give every choice of the set the same choice.
Parameters
labelconst char *- The text beside it.
choiceint *- The address of an
intof yours, which the set shares. A click sets it tovalue. valueint- This choice's number. It shows as picked while
*choiceisvalue.
Returns int
1 in the frame it's clicked, 0 otherwise.
In Widgets, with ui_label, ui_heading, ui_separator, ui_button, ui_checkbox, ui_slider, ui_textbox, ui_textboxex, ui_listbox, ui_dropdown, ui_tabs, ui_progress, ui_swatches, ui_image.