Home
last modified time | relevance | path

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

/linux-2.4.37.9/scripts/lxdialog/
Dmenubox.c61 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()
[all …]