Lines Matching refs:items
46 DIALOG_LISTITEM *items;
53 * current item. That one is colored differently from the other items.
110 &data->items[i + scrollamt],
132 check_hotkey(DIALOG_LISTITEM * items, int choice)
138 ? items[choice].text
139 : items[choice].name))) {
158 DIALOG_LISTITEM * items,
196 int choice = dlg_default_listitem(items);
209 all.items = items;
224 if (items[i].state) {
228 items[i].state = 0;
241 use_width = dlg_calc_list_width(item_no, items) + 10;
244 /* calculate height without items (4) */
302 /* draw a box around the list items */
312 text_width = MAX(text_width, dlg_count_columns(items[i].text));
313 name_width = MAX(name_width, dlg_count_columns(items[i].name));
366 if (button < 0) /* --visit-items */
396 * (any number of items can be selected) or radio list (zero or one
397 * items can be selected).
401 int next = items[current].state + 1;
408 items[current].state = next;
410 &items[scrollamt + choice],
418 items[i].state = 0;
421 if (items[current].state) {
423 items[current].state = next ? next : 1;
425 &items[current],
431 items[current].state = 1;
447 if (check_hotkey(items, j)) {
455 if (check_hotkey(items, j)) {
600 char **items,
616 listitems[i].name = items[j++];
619 : items[j++]);
620 listitems[i].state = !dlg_strcmp(items[j++], "on");
622 ? items[j++]