Lines Matching refs:item_no
48 int item_no; member
277 data->item_no, in print_menu()
311 int item_no, in dlg_menu() argument
373 DLG_TRACE2N("llength", item_no); in dlg_menu()
380 all.item_no = item_no; in dlg_menu()
392 use_width = dlg_calc_list_width(item_no, items) + 10; in dlg_menu()
397 dlg_calc_listh(&height, &all.menu_height, item_no); in dlg_menu()
440 RowHeight(item_no)); in dlg_menu()
465 for (i = 0; i < item_no; i++) { in dlg_menu()
568 for (j = scrollamt + choice + 1; j < item_no; j++) { in dlg_menu()
612 i = item_no - 1 - scrollamt; in dlg_menu()
625 i = MIN(choice + max_choice, item_no - scrollamt - 1); in dlg_menu()
634 if (scrollamt + choice >= item_no - 1) in dlg_menu()
777 int item_no, in dialog_menu() argument
785 listitems = dlg_calloc(DIALOG_LISTITEM, (size_t) item_no + 1); in dialog_menu()
788 for (i = j = 0; i < item_no; ++i) { in dialog_menu()
797 dlg_align_columns(&listitems[0].text, sizeof(DIALOG_LISTITEM), item_no); in dialog_menu()
804 item_no, in dialog_menu()
811 dlg_free_columns(&listitems[0].text, sizeof(DIALOG_LISTITEM), item_no); in dialog_menu()