Lines Matching refs:menu_width
61 static int menu_width, item_x; variable
70 char menu_item[menu_width+1]; in print_item()
72 strncpy(menu_item, item, menu_width); in print_item()
73 menu_item[menu_width] = 0; in print_item()
82 for (i = 0; i < menu_width; i++) in print_item()
214 menu_width = width - 6; in dialog_menu()
216 box_x = (width - menu_width) / 2 - 1; in dialog_menu()
219 menu = subwin (dialog, menu_height, menu_width, in dialog_menu()
224 draw_box (dialog, box_y, box_x, menu_height + 2, menu_width + 2, in dialog_menu()
233 item_x = MAX (item_x, MIN(menu_width, strlen (items[i * 2 + 1]) + 2)); in dialog_menu()
237 item_x = (menu_width - item_x) / 2; in dialog_menu()