MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / AddRadioButton

Method AddRadioButton

Descent3/newui_core.cpp:1995–1998  ·  view source on GitHub ↗

adds a radio button to current group. initial state of radio may be set

Source from the content-addressed store, hash-verified

1993
1994// adds a radio button to current group. initial state of radio may be set
1995void newuiSheet::AddRadioButton(const char *title, int16_t id) {
1996 newuiSheet::t_gadget_desc *gadget = AddGadget(id, GADGET_RADIO, title);
1997 gadget->parm.i = -1;
1998}
1999
2000// adds a radio button to current group. initial state of radio may be set
2001int *newuiSheet::AddFirstLongRadioButton(const char *title, int16_t id) {

Callers 6

setupMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80
add_hud_optionMethod · 0.80
setupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected