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

Method setup

Descent3/pilot.cpp:777–786  ·  view source on GitHub ↗

sets the menu up.

Source from the content-addressed store, hash-verified

775
776 // sets the menu up.
777 newuiSheet *setup(newuiMenu *menu) {
778 sheet = menu->AddOption(IDP_SELECT, TXT_PILOTS, NEWUIMENU_MEDIUM);
779
780 // Pilot selection list
781 sheet->NewGroup(NULL, 6, 18);
782 pilot_list = sheet->AddListBox(232, 168, IDP_SEL_PILOTLIST);
783 pilot_list->SetSelectChangeCallback(PilotListSelectChangeCallback);
784
785 return sheet;
786 };
787
788 // retreive values from property sheet here.
789 void finish() { sheet = NULL; };

Callers

nothing calls this directly

Calls 4

AddOptionMethod · 0.80
NewGroupMethod · 0.80
AddListBoxMethod · 0.80

Tested by

no test coverage detected