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

Method AddFirstLongRadioButton

Descent3/newui_core.cpp:2001–2005  ·  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

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) {
2002 newuiSheet::t_gadget_desc *gadget = AddGadget(id, GADGET_LRADIO, title);
2003 gadget->parm.i = 0;
2004 return &gadget->parm.i;
2005}
2006
2007// adds a radio button to current group. initial state of radio may be set
2008void newuiSheet::AddLongRadioButton(const char *title, int16_t id) {

Callers 3

setupMethod · 0.80
joystick_settings_dialogFunction · 0.80
setupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected