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

Method AddLongButton

Descent3/newui_core.cpp:1968–1971  ·  view source on GitHub ↗

adds standard long button to current group.

Source from the content-addressed store, hash-verified

1966
1967// adds standard long button to current group.
1968void newuiSheet::AddLongButton(const char *title, int16_t id, int16_t flags) {
1969 newuiSheet::t_gadget_desc *gadget = AddGadget(id, GADGET_LBUTTON, title);
1970 gadget->parm.i = flags;
1971}
1972
1973// adds checkbox to current group. initial state of checkbox can be set.
1974bool *newuiSheet::AddCheckBox(const char *title, bool init_state, int16_t id) {

Callers 8

setupMethod · 0.80
PltSelectShipFunction · 0.80
MainMultiplayerMenuFunction · 0.80
joystick_settings_dialogFunction · 0.80
BuddyDisplayFunction · 0.80
DoPathFileDialogFunction · 0.80
setupMethod · 0.80
setupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected