Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/xen/tools/kconfig/lxdialog/
A Dchecklist.c26 static int list_width, check_x, item_x; variable
34 char *list_item = malloc(list_width + 1); in print_item()
36 strncpy(list_item, item_str(), list_width - item_x); in print_item()
37 list_item[list_width - item_x] = '\0'; in print_item()
42 for (i = 0; i < list_width; i++) in print_item()
165 list_width = width - 6; in dialog_checklist()
167 box_x = (width - list_width) / 2 - 1; in dialog_checklist()
170 list = subwin(dialog, list_height, list_width, y + box_y + 1, in dialog_checklist()
176 draw_box(dialog, box_y, box_x, list_height + 2, list_width + 2, in dialog_checklist()
183 check_x = MIN(check_x, list_width); in dialog_checklist()
[all …]

Completed in 2 milliseconds