| 736 | return newbutt; |
| 737 | } |
| 738 | void *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 | } |
| 746 | void ListRemoveAll(UIListBox *item) { item->RemoveAll(); } |
| 747 | void ListAddItem(UIListBox *item, UITextItem *uitext) { item->AddItem(uitext); } |
| 748 | void ListRemoveItem(UIListBox *item, UITextItem *txtitem) { item->RemoveItem(txtitem); } |
nothing calls this directly
no test coverage detected