Lines Matching refs:list_size
318 void paint_menu P_((struct menu_entries menu_list[], int max_width, int max_height, int list_size, int top_offset, WINDOW *menu_win, int off_start, int vert_size));
3350 int list_size;
3361 list_size = 1;
3362 while (menu_list[list_size + 1].item_string != NULL)
3363 list_size++;
3365 for (counter = 0; counter <= list_size; counter++)
3392 if (list_size > LINES)
3402 vert_size = list_size;
3403 max_height = list_size;
3419 paint_menu(menu_list, max_width, max_height, list_size, top_offset, temp_win, off_start, vert_size);
3447 if (temp <= list_size)
3462 if (counter > list_size)
3473 counter = list_size;
3482 list_size, top_offset, temp_win,
3490 if (((list_size - off_start) >= (vert_size - 1)) &&
3494 if (counter == list_size)
3495 off_start = (list_size - vert_size) + 2;
3500 list_size, top_offset, temp_win, off_start,
3503 else if ((list_size != vert_size) &&
3506 if (counter == list_size)
3507 off_start = 2 + (list_size - vert_size);
3514 list_size, top_offset, temp_win, off_start,
3525 list_size, top_offset, temp_win, off_start,
3555 paint_menu(menu_list, max_width, max_height, list_size, top_offset, menu_win,
3558 int max_width, max_height, list_size, top_offset;
3612 if (list_size > vert_size)
3629 if (list_size > 1)
3636 if (counter == list_size)
3638 if (list_size > 1)
3647 for (counter = 1; counter <= list_size; counter++)
3650 if (list_size > 1)