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

Method AddLongCheckBox

Descent3/newui_core.cpp:1981–1985  ·  view source on GitHub ↗

adds checkbox to current group. initial state of checkbox can be set.

Source from the content-addressed store, hash-verified

1979
1980// adds checkbox to current group. initial state of checkbox can be set.
1981bool *newuiSheet::AddLongCheckBox(const char *title, bool init_state, int16_t id) {
1982 newuiSheet::t_gadget_desc *gadget = AddGadget(id, GADGET_LCHECKBOX, title);
1983 gadget->parm.b = init_state;
1984 return &gadget->parm.b;
1985}
1986
1987// adds a radio button to current group. initial state of radio may be set
1988int *newuiSheet::AddFirstRadioButton(const char *title, int16_t id) {

Callers 6

setupMethod · 0.80
joystick_settings_dialogFunction · 0.80
setupMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected