Home
last modified time | relevance | path

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

/external/toybox/kconfig/lxdialog/
Dinputbox.c47 int i, x, y, box_y, box_x, box_width; in dialog_inputbox() local
87 box_width = width - 6; in dialog_inputbox()
90 box_x = (width - box_width) / 2; in dialog_inputbox()
91 draw_box(dialog, y + 1, box_x - 1, 3, box_width + 2, in dialog_inputbox()
102 if (input_x >= box_width) { in dialog_inputbox()
103 scroll = input_x - box_width + 1; in dialog_inputbox()
104 input_x = box_width - 1; in dialog_inputbox()
105 for (i = 0; i < box_width - 1; i++) in dialog_inputbox()
133 scroll = scroll < box_width - 1 ? 0 : scroll - (box_width - 1); in dialog_inputbox()
135 for (i = 0; i < box_width; i++) in dialog_inputbox()
[all …]