adds checkbox to current group. initial state of checkbox can be set.
| 1979 | |
| 1980 | // adds checkbox to current group. initial state of checkbox can be set. |
| 1981 | bool *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 |
| 1988 | int *newuiSheet::AddFirstRadioButton(const char *title, int16_t id) { |
no outgoing calls
no test coverage detected