Searched refs:menu_width (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/scripts/kconfig/lxdialog/ |
D | menubox.c | 48 static int menu_width, item_x; variable 57 char *menu_item = malloc(menu_width + 1); in do_print_item() 59 strncpy(menu_item, item, menu_width - item_x); in do_print_item() 60 menu_item[menu_width - item_x] = '\0'; in do_print_item() 69 for (i = 0; i < menu_width; i++) in do_print_item() 216 menu_width = width - 6; in dialog_menu() 218 box_x = (width - menu_width) / 2 - 1; in dialog_menu() 221 menu = subwin(dialog, menu_height, menu_width, in dialog_menu() 226 draw_box(dialog, box_y, box_x, menu_height + 2, menu_width + 2, in dialog_menu() 229 if (menu_width >= 80) in dialog_menu() [all …]
|