Lines Matching refs:item_no
43 int item_no; member
124 (long) (data->item_no), in print_list()
160 int item_no, in dlg_treeview() argument
222 all.item_no = item_no; in dlg_treeview()
237 for (i = 0; i < item_no; i++) { in dlg_treeview()
255 use_width = dlg_calc_list_width(item_no, items) + 10; in dlg_treeview()
260 dlg_calc_listh(&height, &use_height, item_no); in dlg_treeview()
297 max_choice = MIN(use_height, item_no); in dlg_treeview()
313 for (i = 0; i < item_no; i++) { in dlg_treeview()
404 for (i = 0; i < item_no; i++) { in dlg_treeview()
427 for (j = scrollamt + choice + 1; j < item_no; j++) { in dlg_treeview()
472 i = item_no - 1 - scrollamt; in dlg_treeview()
483 i = MIN(choice + max_choice, item_no - scrollamt - 1); in dlg_treeview()
492 if (scrollamt + choice >= item_no - 1) in dlg_treeview()
579 int item_no, in dialog_treeview() argument
597 DLG_TRACE2N("llength", item_no); in dialog_treeview()
601 listitems = dlg_calloc(DIALOG_LISTITEM, (size_t) item_no + 1); in dialog_treeview()
604 depths = dlg_calloc(int, (size_t) item_no + 1); in dialog_treeview()
607 for (i = j = 0; i < item_no; ++i) { in dialog_treeview()
618 dlg_align_columns(&listitems[0].text, (int) sizeof(DIALOG_LISTITEM), item_no); in dialog_treeview()
625 item_no, in dialog_treeview()
653 for (i = 0; i < item_no; i++) { in dialog_treeview()
670 dlg_free_columns(&listitems[0].text, (int) sizeof(DIALOG_LISTITEM), item_no); in dialog_treeview()