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

Function ListCreate

Descent3/multi_dll_mgr.cpp:738–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

736 return newbutt;
737}
738void *ListCreate(UIWindow *parentwin, int id, int x, int y, int w, int h, int flags) {
739 NewUIListBox *newlist;
740 newlist = new NewUIListBox;
741 newlist->Create(parentwin, id, x, y, w, h, flags);
742 newlist->SetSelectedColor(UICOL_LISTBOX_HI);
743 newlist->SetHiliteColor(UICOL_LISTBOX_HI);
744 return newlist;
745}
746void ListRemoveAll(UIListBox *item) { item->RemoveAll(); }
747void ListAddItem(UIListBox *item, UITextItem *uitext) { item->AddItem(uitext); }
748void ListRemoveItem(UIListBox *item, UITextItem *txtitem) { item->RemoveItem(txtitem); }

Callers

nothing calls this directly

Calls 3

SetSelectedColorMethod · 0.80
SetHiliteColorMethod · 0.80
CreateMethod · 0.45

Tested by

no test coverage detected