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

Method AddLongRadioButton

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

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) {
2009 newuiSheet::t_gadget_desc *gadget = AddGadget(id, GADGET_LRADIO, title);
2010 gadget->parm.i = -1;
2011}
2012
2013// adds a slider, set the range for it too.
2014int16_t *newuiSheet::AddSlider(const char *title, int16_t range, int16_t init_pos, tSliderSettings *settings, 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