Searched refs:start_row (Results 1 – 6 of 6) sorted by relevance
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | rect.h | 6 #define ARGSrect(r) (r).start_row, (r).start_col, (r).end_row, (r).end_col 11 if(dst->start_row > src->start_row) dst->start_row = src->start_row; in rect_expand() 20 if(dst->start_row < bounds->start_row) dst->start_row = bounds->start_row; in rect_clip() 25 if(dst->end_row < dst->start_row) dst->end_row = dst->start_row; in rect_clip() 32 return (a->start_row == b->start_row) && in rect_equal() 41 if(small->start_row < big->start_row) return 0; in rect_contains() 51 if(a->start_row > b->end_row || b->start_row > a->end_row) in rect_intersects()
|
H A D | screen.c | 117 if(rect.end_row > rect.start_row + 1) { in damagerect() 122 else if(screen->damaged.start_row == -1) { in damagerect() 127 else if(rect.start_row == screen->damaged.start_row) { in damagerect() 145 if(screen->damaged.start_row == -1) in damagerect() 164 .start_row = 0, in damagescreen() 193 rect.start_row = pos.row; in putglyph() 214 dest.start_row == 0 && dest.start_col == 0 && // starts top-left corner in moverect_internal() 218 for(pos.row = 0; pos.row < src.start_row; pos.row++) { in moverect_internal() 227 downward = src.start_row - dest.start_row; in moverect_internal() 231 test_row = dest.start_row - 1; in moverect_internal() [all …]
|
H A D | vterm.c | 243 if(abs(downward) >= rect.end_row - rect.start_row || in vterm_scroll_rect() 273 dest.start_row = rect.start_row; in vterm_scroll_rect() 275 src.start_row = rect.start_row + downward; in vterm_scroll_rect() 280 dest.start_row = rect.start_row + upward; in vterm_scroll_rect() 282 src.start_row = rect.start_row; in vterm_scroll_rect() 290 rect.start_row = rect.end_row - downward; in vterm_scroll_rect() 292 rect.end_row = rect.start_row - downward; in vterm_scroll_rect() 307 int downward = src.start_row - dest.start_row; in vterm_copy_cells() 317 test_row = dest.start_row - 1; in vterm_copy_cells() 321 init_row = dest.start_row; in vterm_copy_cells()
|
H A D | state.c | 88 int height = rect.end_row - rect.start_row - abs(downward); in scroll() 91 memmove(state->lineinfo + rect.start_row, in scroll() 92 state->lineinfo + rect.start_row + downward, in scroll() 95 memmove(state->lineinfo + rect.start_row - downward, in scroll() 96 state->lineinfo + rect.start_row, in scroll() 113 .start_row = state->scrollregion_top, in linefeed() 311 .start_row = state->pos.row, in on_text() 408 .start_row = state->scrollregion_top, in on_control() 958 rect.start_row = state->pos.row; in on_csi() 1038 rect.start_row = state->pos.row; rect.end_row = state->pos.row + 1; in on_csi() [all …]
|
/haiku/src/apps/serialconnect/ |
H A D | TermView.cpp | 70 for (pos.row = updatedChars.start_row; pos.row <= updatedChars.end_row; in Draw() 369 rect.start_row = (int)floor(pixels.top / fFontHeight); in _PixelsToGlyphs() 377 rect.start_row, pixels.top, in _PixelsToGlyphs() 390 rect.top = glyphs.start_row * fFontHeight; in _GlyphsToPixels() 402 glyphs.start_row, rect.top, fFontHeight, in _GlyphsToPixels() 416 rect.start_row = 0; in _GlyphsToPixels() 467 r.start_row = oldPos.row; in _MoveCursor() 474 r.start_row = pos.row; in _MoveCursor() 509 dirty.start_row = -fScrollBuffer.CountItems(); in _UpdateScrollbar()
|
/haiku/src/apps/serialconnect/libvterm/include/ |
H A D | vterm.h | 27 int start_row; member 36 return p.row >= r.start_row && p.row < r.end_row && in vterm_rect_contains() 43 rect->start_row += row_delta; rect->end_row += row_delta; in vterm_rect_move()
|