Home
last modified time | relevance | path

Searched refs:menu_width (Results 1 – 1 of 1) sorted by relevance

/external/toybox/kconfig/lxdialog/
Dmenubox.c61 static int menu_width, item_x; variable
70 char *menu_item = malloc(menu_width + 1); in do_print_item()
72 strncpy(menu_item, item, menu_width - item_x); in do_print_item()
73 menu_item[menu_width - item_x] = '\0'; in do_print_item()
82 for (i = 0; i < menu_width; i++) in do_print_item()
227 menu_width = width - 6; in dialog_menu()
229 box_x = (width - menu_width) / 2 - 1; in dialog_menu()
232 menu = subwin(dialog, menu_height, menu_width, in dialog_menu()
237 draw_box(dialog, box_y, box_x, menu_height + 2, menu_width + 2, in dialog_menu()
240 if (menu_width >= 80) in dialog_menu()
[all …]