Searched refs:box_width (Results 1 – 1 of 1) sorted by relevance
/busybox-1.35.0/scripts/kconfig/lxdialog/ |
D | inputbox.c | 47 int i, x, y, box_y, box_x, box_width; in dialog_inputbox() local 75 box_width = width - 6; in dialog_inputbox() 78 box_x = (width - box_width) / 2; in dialog_inputbox() 79 draw_box(dialog, y + 1, box_x - 1, 3, box_width + 2, border_attr, dialog_attr); in dialog_inputbox() 94 if (input_x >= box_width) { in dialog_inputbox() 95 scroll = input_x - box_width + 1; in dialog_inputbox() 96 input_x = box_width - 1; in dialog_inputbox() 97 for (i = 0; i < box_width - 1; i++) in dialog_inputbox() 125 scroll = scroll < box_width - 1 ? 0 : scroll - (box_width - 1); in dialog_inputbox() 127 for (i = 0; i < box_width; i++) in dialog_inputbox() [all …]
|