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

Method NewGroup

Descent3/newui_core.cpp:1954–1959  ·  view source on GitHub ↗

creates gadget list.

Source from the content-addressed store, hash-verified

1952
1953// creates gadget list.
1954void 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.
1962void newuiSheet::AddButton(const char *title, int16_t id, int16_t flags) {

Callers 15

setupMethod · 0.80
setupMethod · 0.80
PilotChooseFunction · 0.80
DoPilotTauntScreenFunction · 0.80
PltSelectShipFunction · 0.80
ShowPilotPicDialogFunction · 0.80
SaveGameDialogFunction · 0.80
LoadGameDialogFunction · 0.80
MainMultiplayerMenuFunction · 0.80
DisplayNetDLLHelpFunction · 0.80
ShowNetgameInfoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected