Lines Matching refs:item_no
110 static void print_arrows(WINDOW * win, int item_no, int scroll, int y, int x, in print_arrows() argument
135 if ((height < item_no) && (scroll + height < item_no)) { in print_arrows()
182 int menu_height, const char *current, int item_no, in dialog_menu() argument
191 max_choice = MIN(menu_height, item_no); in dialog_menu()
232 for (i = 0; i < item_no; i++) in dialog_menu()
240 (scroll + max_choice <= item_no)) { in dialog_menu()
252 if (choice >= item_no - max_choice / 2) in dialog_menu()
253 scroll = first_item = item_no - max_choice; in dialog_menu()
266 print_arrows(dialog, item_no, scroll, in dialog_menu()
315 (scroll + max_choice < item_no)) { in dialog_menu()
338 if (scroll + max_choice < item_no) { in dialog_menu()
352 print_arrows(dialog, item_no, scroll, in dialog_menu()