Searched refs:item_no (Results 1 – 3 of 3) sorted by relevance
/busybox-1.35.0/scripts/kconfig/lxdialog/ |
D | checklist.c | 59 static void print_arrows(WINDOW * win, int choice, int item_no, int scroll, in print_arrows() argument 79 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows() 112 int width, int list_height, int item_no, in dialog_checklist() argument 120 if ((status = malloc(sizeof(int) * item_no)) == NULL) { in dialog_checklist() 128 for (i = 0; i < item_no; i++) { in dialog_checklist() 137 max_choice = MIN(list_height, item_no); in dialog_checklist() 177 for (i = 0; i < item_no; i++) in dialog_checklist() 194 print_arrows(dialog, choice, item_no, scroll, in dialog_checklist() 228 print_arrows(dialog, choice, item_no, in dialog_checklist() 239 if (scroll + choice >= item_no - 1) in dialog_checklist() [all …]
|
D | menubox.c | 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() [all …]
|
D | dialog.h | 159 int menu_height, const char *choice, int item_no, 162 int width, int list_height, int item_no,
|