Lines Matching refs:menu_list
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));
3340 menu_op(menu_list)
3341 struct menu_entries menu_list[];
3362 while (menu_list[list_size + 1].item_string != NULL)
3367 if ((length = strlen(menu_list[counter].item_string)) > max_width)
3408 if (menu_list[0].argument != MENU_WARN)
3419 paint_menu(menu_list, max_width, max_height, list_size, top_offset, temp_win, off_start, vert_size);
3476 if (menu_list[0].argument != MENU_WARN)
3481 paint_menu(menu_list, max_width, max_height,
3499 paint_menu(menu_list, max_width, max_height,
3513 paint_menu(menu_list, max_width, max_height,
3524 paint_menu(menu_list, max_width, max_height,
3535 if ((menu_list[counter].procedure != NULL) ||
3536 (menu_list[counter].iprocedure != NULL) ||
3537 (menu_list[counter].nprocedure != NULL))
3539 if (menu_list[counter].argument != -1)
3540 (*menu_list[counter].iprocedure)(menu_list[counter].argument);
3541 else if (menu_list[counter].ptr_argument != NULL)
3542 (*menu_list[counter].procedure)(menu_list[counter].ptr_argument);
3544 (*menu_list[counter].nprocedure)();
3555 paint_menu(menu_list, max_width, max_height, list_size, top_offset, menu_win,
3557 struct menu_entries menu_list[];
3588 waddstr(menu_win, menu_list[0].item_string);
3590 if (menu_list[0].argument != MENU_WARN)
3631 waddstr(menu_win, menu_list[counter].item_string);
3640 wprintw(menu_win, menu_list[counter].item_string);
3652 waddstr(menu_win, menu_list[counter].item_string);