Lines Matching defs:y1
73 static void erase_region(textcon_t* tc, int x0, int y0, int x1, int y1) {
79 vc_char_t* end = dataxy(tc, x1, y1) + 1;
81 invalidate(tc, x0, y0, x1 - x0 + 1, y1 - y0 + 1);
148 // Scroll the region between line |y0| (inclusive) and |y1| (exclusive).
151 static void scroll_lines(textcon_t* tc, int y0, int y1, int diff) {
153 if (delta > y1 - y0)
154 delta = y1 - y0;
155 int copy_count = y1 - y0 - delta;
184 void set_scroll(textcon_t* tc, int y0, int y1) {
185 if (y0 > y1) {
189 tc->scroll_y1 = (y1 > tc->h) ? tc->h : y1;