Searched refs:max_choice (Results 1 - 3 of 3) sorted by relevance
/freebsd-10.1-release/contrib/dialog/ |
H A D | checklist.c | 101 print_list(ALL_DATA * data, int choice, int scrollamt, int max_choice) argument 107 for (i = 0; i < max_choice; i++) { 119 (long) (scrollamt + max_choice), 198 int max_choice; local 295 max_choice = MIN(all.use_height, item_no); 296 max_choice = MAX(max_choice, 1); 350 scrollamt = MIN(scrollamt, max_choice + item_no - 1); 351 if (choice >= (max_choice + scrollamt - 1)) { 352 scrollamt = MAX(0, choice - max_choice [all...] |
H A D | treeview.c | 104 int max_choice) 111 for (i = 0; i < max_choice; i++) { 123 (long) (scrollamt + max_choice), 202 int max_choice; local 296 max_choice = MIN(use_height, item_no); 337 if (choice >= (max_choice + scrollamt)) { 338 scrollamt = choice - max_choice + 1; 339 choice = max_choice - 1; 352 print_list(&all, choice, scrollamt, max_choice); 371 if (i < max_choice) { 101 print_list(ALL_DATA * data, int choice, int scrollamt, int max_choice) argument [all...] |
H A D | menubox.c | 231 print_menu(ALL_DATA * data, int choice, int scrollamt, int max_choice, bool is_inputmenu) argument 235 for (i = 0; i < max_choice; i++) { 263 scrollamt + max_choice, 344 int max_choice; local 412 max_choice = MIN(all.menu_height, 415 max_choice /= INPUT_ROWS; 481 if (choice - scrollamt >= max_choice) { 482 scrollamt = choice - (max_choice - 1); 483 choice = max_choice - 1; 486 print_menu(&all, choice, scrollamt, max_choice, is_inputmen [all...] |
Completed in 118 milliseconds