Home
last modified time | relevance | path

Searched refs:item_no (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/scripts/lxdialog/
Dchecklist.c64 print_arrows (WINDOW * win, int choice, int item_no, int scroll, in print_arrows() argument
85 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows()
121 int list_height, int item_no, const char * const * items, int flag) in dialog_checklist() argument
131 if ((status = malloc (sizeof (int) * item_no)) == NULL) { in dialog_checklist()
139 for (i = 0; i < item_no; i++) { in dialog_checklist()
145 max_choice = MIN (list_height, item_no); in dialog_checklist()
197 for (i = 0; i < item_no; i++) in dialog_checklist()
214 print_arrows(dialog, choice, item_no, scroll, in dialog_checklist()
251 print_arrows(dialog, choice, item_no, scroll, in dialog_checklist()
261 if (scroll + choice >= item_no - 1) in dialog_checklist()
[all …]
Dmenubox.c104 print_arrows (WINDOW * win, int item_no, int scroll, in print_arrows() argument
129 if ((height < item_no) && (scroll + height < item_no)) { in print_arrows()
167 int menu_height, const char *current, int item_no, in dialog_menu() argument
176 max_choice = MIN (menu_height, item_no); in dialog_menu()
232 for (i = 0; i < item_no; i++) { in dialog_menu()
243 (scroll+max_choice <= item_no) ) { in dialog_menu()
255 if (choice >= item_no-max_choice/2) in dialog_menu()
256 scroll = first_item = item_no-max_choice; in dialog_menu()
270 print_arrows(dialog, item_no, scroll, in dialog_menu()
326 (scroll + max_choice < item_no) in dialog_menu()
[all …]
Ddialog.h158 int menu_height, const char *choice, int item_no,
161 int width, int list_height, int item_no,