Lines Matching refs:tp_row
249 .vb_mark_start = {.tp_row = 0, .tp_col = 0,},
250 .vb_mark_end = {.tp_row = 0, .tp_col = 0,},
252 .tp_row = _VTDEFH,
648 size->tp_row = vd->vd_height; in vt_termsize()
650 size->tp_row -= vt_logo_sprite_height; in vt_termsize()
653 size->tp_row = MIN(size->tp_row / vf->vf_height, in vt_termsize()
664 rect->tr_begin.tp_row = rect->tr_begin.tp_col = 0; in vt_termrect()
666 rect->tr_begin.tp_row = vt_logo_sprite_height; in vt_termrect()
668 rect->tr_end.tp_row = vd->vd_height; in vt_termrect()
672 rect->tr_begin.tp_row = in vt_termrect()
673 howmany(rect->tr_begin.tp_row, vf->vf_height); in vt_termrect()
675 rect->tr_end.tp_row = MIN(rect->tr_end.tp_row / vf->vf_height, in vt_termrect()
710 vw->vw_draw_area.tr_begin.tp_row = 0; in vt_compute_drawable_area()
712 vw->vw_draw_area.tr_begin.tp_row = vt_logo_sprite_height; in vt_compute_drawable_area()
714 vw->vw_draw_area.tr_end.tp_row = vd->vd_height; in vt_compute_drawable_area()
729 vw->vw_draw_area.tr_begin.tp_row = (height % vf->vf_height) / 2; in vt_compute_drawable_area()
731 vw->vw_draw_area.tr_begin.tp_row += vt_logo_sprite_height; in vt_compute_drawable_area()
734 vw->vw_draw_area.tr_end.tp_row = vw->vw_draw_area.tr_begin.tp_row + in vt_compute_drawable_area()
854 vt_scroll(vw, -size.tp_row, VHS_CUR); in vt_scrollmode_kbdevent()
864 vt_scroll(vw, size.tp_row, VHS_CUR); in vt_scrollmode_kbdevent()
1266 my = vd->vd_my_drawn + vd->vd_curwindow->vw_draw_area.tr_begin.tp_row; in vt_is_cursor_in_area()
1270 my >= area->tr_end.tp_row || in vt_is_cursor_in_area()
1271 my + vd->vd_mcursor->height <= area->tr_begin.tp_row) in vt_is_cursor_in_area()
1292 area.tr_begin.tp_row = y / vf->vf_height; in vt_mark_mouse_position_as_dirty()
1295 area.tr_end.tp_row = in vt_mark_mouse_position_as_dirty()
1305 area.tr_begin.tp_row = y; in vt_mark_mouse_position_as_dirty()
1307 area.tr_end.tp_row = y + 2; in vt_mark_mouse_position_as_dirty()
1330 if (area->tr_begin.tp_row > 0) in vt_set_border()
1332 area->tr_begin.tp_row - 1, 1, c); in vt_set_border()
1336 drawrect(vd, 0, area->tr_begin.tp_row, in vt_set_border()
1337 area->tr_begin.tp_col - 1, area->tr_end.tp_row - 1, 1, c); in vt_set_border()
1341 drawrect(vd, area->tr_end.tp_col, area->tr_begin.tp_row, in vt_set_border()
1342 vd->vd_width - 1, area->tr_end.tp_row - 1, 1, c); in vt_set_border()
1345 if (area->tr_end.tp_row < vd->vd_height) in vt_set_border()
1346 drawrect(vd, 0, area->tr_end.tp_row, vd->vd_width - 1, in vt_set_border()
1359 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in vt_flush_to_buffer()
1403 for (row = area->tr_begin.tp_row; row < area->tr_end.tp_row; ++row) { in vt_bitblt_buffer()
1409 vw->vw_draw_area.tr_begin.tp_row; in vt_bitblt_buffer()
1436 drawn_area.tr_begin.tp_row = area->tr_begin.tp_row * vf->vf_height; in vt_bitblt_buffer()
1438 drawn_area.tr_end.tp_row = area->tr_end.tp_row * vf->vf_height; in vt_bitblt_buffer()
1445 vd->vd_my_drawn + vw->vw_draw_area.tr_begin.tp_row, in vt_bitblt_buffer()
2166 vw->vw_draw_area.tr_end.tp_row - in vt_change_font()
2167 vw->vw_draw_area.tr_begin.tp_row - 1); in vt_change_font()
2389 y = MIN(y, (size.tp_row * vf->vf_height) - 1); in vt_mouse_event()