creates gadget list.
| 1952 | |
| 1953 | // creates gadget list. |
| 1954 | void newuiSheet::NewGroup(const char *title, int16_t x, int16_t y, tAlignment align, int16_t pix_offset) { |
| 1955 | newuiSheet::t_gadget_desc *gadget = AddGadget(-1, (align == NEWUI_ALIGN_HORIZ) ? GADGET_HGROUP : GADGET_GROUP, title); |
| 1956 | gadget->parm.s[0] = x; |
| 1957 | gadget->parm.s[1] = y; |
| 1958 | gadget->id = pix_offset; |
| 1959 | } |
| 1960 | |
| 1961 | // adds standard button to current group. |
| 1962 | void newuiSheet::AddButton(const char *title, int16_t id, int16_t flags) { |
no outgoing calls
no test coverage detected