Lines Matching refs:items
60 DIALOG_LISTITEM *items; /* all items in the widget */ member
86 choice, all->items + choice, in index2row()
88 if (myItem(data, row) == all->items + choice) { in index2row()
110 n, all->items + n)); in row2index()
111 if (myItem(data, row) == all->items + n) { in row2index()
175 ? all->items + choice in print_1_list()
233 check_hotkey(DIALOG_LISTITEM * items, int choice, int selected) in check_hotkey() argument
237 if ((items[choice].state != 0) == selected) { in check_hotkey()
240 ? items[choice].text in check_hotkey()
241 : items[choice].name))) { in check_hotkey()
279 if (myItem(data, 0) == &all->items[n]) { in first_item()
345 if ((all->items[n].state != 0) == selected) { in closest_item()
351 if ((all->items[n].state != 0) == selected) { in closest_item()
449 myItem(data, j) = &all->items[choice]; in append_right_side()
461 if (myItem(data, j) == &all->items[choice]) { in amend_right_side()
479 if ((all->items[j].state != 0) == selected) { in fill_one_side()
480 myItem(data, i) = all->items + j; in fill_one_side()
484 j, all->items + j)); in fill_one_side()
513 DIALOG_LISTITEM * items, in dlg_buildlist() argument
578 all.items = items; in dlg_buildlist()
586 cur_item = dlg_default_listitem(items); in dlg_buildlist()
592 ? (items[cur_item].state ? sRIGHT : sLEFT) in dlg_buildlist()
605 all.use_width = (2 * (dlg_calc_list_width(item_no, items) in dlg_buildlist()
676 text_width = MAX(text_width, dlg_count_columns(items[i].text)); in dlg_buildlist()
677 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_buildlist()
716 if ((items[cur_item].state != 0) == i) { in dlg_buildlist()
720 while ((items[top_item].state != 0) != i) in dlg_buildlist()
741 int which = (items[cur_item].state != 0); in dlg_buildlist()
833 int new_state = items[cur_item].state + 1; in dlg_buildlist()
843 items[cur_item].state = new_state; in dlg_buildlist()
876 if (check_hotkey(items, j, which)) { in dlg_buildlist()
884 if (check_hotkey(items, j, which)) { in dlg_buildlist()
1148 redo[j++] = items[choice]; in dlg_buildlist()
1153 memcpy(items, redo, sizeof(DIALOG_LISTITEM) * (size_t) (item_no + 1)); in dlg_buildlist()
1182 char **items, in dialog_buildlist() argument
1208 listitems[i].name = items[j++]; in dialog_buildlist()
1211 : items[j++]); in dialog_buildlist()
1212 listitems[i].state = !dlg_strcmp(items[j++], "on"); in dialog_buildlist()
1214 ? items[j++] in dialog_buildlist()