Lines Matching refs:text_box_y
117 static int text_box_y; variable
133 for (i = 0; i < text_box_y; ++i) { in update_text_lines()
162 length = text_box_y * text_box_y / text_lines_count; in update_y_scroll_bar()
163 if (length >= text_box_y) in update_y_scroll_bar()
165 begin = current_top * (text_box_y - length) / max_scroll_y; in update_y_scroll_bar()
166 mvwvline(text_widget.window, 1, text_box_x + 1, ' ', text_box_y); in update_y_scroll_bar()
181 mvwhline(text_widget.window, text_box_y + 1, 1, ' ', text_box_x); in update_x_scroll_bar()
182 mvwhline(text_widget.window, text_box_y + 1, begin + 1, ACS_BOARD, length); in update_x_scroll_bar()
239 move_y(text_box_y); in on_handle_key()
242 move_y(-text_box_y); in on_handle_key()
274 text_box_y = text_lines_count; in create()
275 if (text_box_y > screen_lines - 2) in create()
276 text_box_y = screen_lines - 2; in create()
277 max_scroll_y = text_lines_count - text_box_y; in create()
283 widget_init(&text_widget, text_box_y + 2, text_box_x + 2, in create()