Lines Matching refs:items
46 DIALOG_LISTITEM *items; member
110 &data->items[i + scrollamt], in print_list()
132 check_hotkey(DIALOG_LISTITEM * items, int choice) in check_hotkey() argument
138 ? items[choice].text in check_hotkey()
139 : items[choice].name))) { in check_hotkey()
158 DIALOG_LISTITEM * items, in dlg_checklist() argument
197 int choice = dlg_default_listitem(items); in dlg_checklist()
223 all.items = items; in dlg_checklist()
237 if (items[i].state) { in dlg_checklist()
241 items[i].state = 0; in dlg_checklist()
257 use_width = dlg_calc_list_width(item_no, items) + 10; in dlg_checklist()
327 text_width = MAX(text_width, dlg_count_columns(items[i].text)); in dlg_checklist()
328 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_checklist()
421 int next = items[current].state + 1; in dlg_checklist()
428 items[current].state = next; in dlg_checklist()
430 &items[scrollamt + choice], in dlg_checklist()
438 items[i].state = 0; in dlg_checklist()
441 if (items[current].state) { in dlg_checklist()
443 items[current].state = next ? next : 1; in dlg_checklist()
445 &items[current], in dlg_checklist()
451 items[current].state = 1; in dlg_checklist()
467 if (check_hotkey(items, j)) { in dlg_checklist()
475 if (check_hotkey(items, j)) { in dlg_checklist()
622 char **items, in dialog_checklist() argument
638 listitems[i].name = items[j++]; in dialog_checklist()
641 : items[j++]); in dialog_checklist()
642 listitems[i].state = !dlg_strcmp(items[j++], "on"); in dialog_checklist()
644 ? items[j++] in dialog_checklist()