Lines Matching refs:box_width
49 int i, x, y, box_y, box_x, box_width; in dialog_inputbox() local
91 box_width = width - 6; in dialog_inputbox()
94 box_x = (width - box_width) / 2; in dialog_inputbox()
95 draw_box (dialog, y + 1, box_x - 1, 3, box_width + 2, in dialog_inputbox()
111 if (input_x >= box_width) { in dialog_inputbox()
112 scroll = input_x - box_width + 1; in dialog_inputbox()
113 input_x = box_width - 1; in dialog_inputbox()
114 for (i = 0; i < box_width - 1; i++) in dialog_inputbox()
141 scroll = scroll < box_width - 1 ? in dialog_inputbox()
142 0 : scroll - (box_width - 1); in dialog_inputbox()
144 for (i = 0; i < box_width; i++) in dialog_inputbox()
162 if (input_x == box_width - 1) { in dialog_inputbox()
165 for (i = 0; i < box_width - 1; i++) in dialog_inputbox()