Searched refs:max_scroll_y (Results 1 – 1 of 1) sorted by relevance
119 static int max_scroll_y; variable160 if (max_scroll_y <= 0 || text_lines_count == 0) in update_y_scroll_bar()165 begin = current_top * (text_box_y - length) / max_scroll_y; in update_y_scroll_bar()208 else if (top > max_scroll_y) in move_y()209 top = max_scroll_y; in move_y()277 max_scroll_y = text_lines_count - text_box_y; in create()287 if (current_top > max_scroll_y) in create()288 current_top = max_scroll_y; in create()