Home
last modified time | relevance | path

Searched refs:max_choice (Results 1 – 2 of 2) sorted by relevance

/linux/scripts/kconfig/lxdialog/
A Dmenubox.c169 int first_item = 0, max_choice; in dialog_menu() local
239 if ((choice >= max_choice)) { in dialog_menu()
248 for (i = 0; i < max_choice; i++) { in dialog_menu()
268 i = max_choice; in dialog_menu()
276 if (i == max_choice) in dialog_menu()
286 (i < max_choice || in dialog_menu()
305 if ((choice > max_choice - 3) && in dialog_menu()
311 max_choice - 1, FALSE); in dialog_menu()
331 print_item(scroll+max_choice-1, in dialog_menu()
332 max_choice - 1, FALSE); in dialog_menu()
[all …]
A Dchecklist.c108 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local
127 max_choice = MIN(list_height, item_count()); in dialog_checklist()
181 for (i = 0; i < max_choice; i++) { in dialog_checklist()
197 for (i = 0; i < max_choice; i++) { in dialog_checklist()
203 if (i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist()
231 if (choice == max_choice - 1) { in dialog_checklist()
237 item_set(scroll + max_choice - 1); in dialog_checklist()
239 max_choice - 1, in dialog_checklist()
246 item_set(scroll + max_choice - 1); in dialog_checklist()
247 print_item(list, max_choice - 1, TRUE); in dialog_checklist()

Completed in 6 milliseconds