Home
last modified time | relevance | path

Searched refs:start_col (Results 1 – 6 of 6) sorted by relevance

/haiku/src/apps/serialconnect/libvterm/src/
H A Drect.h6 #define ARGSrect(r) (r).start_row, (r).start_col, (r).end_row, (r).end_col
12 if(dst->start_col > src->start_col) dst->start_col = src->start_col; in rect_expand()
21 if(dst->start_col < bounds->start_col) dst->start_col = bounds->start_col; in rect_clip()
26 if(dst->end_col < dst->start_col) dst->end_col = dst->start_col; in rect_clip()
33 (a->start_col == b->start_col) && in rect_equal()
42 if(small->start_col < big->start_col) return 0; in rect_contains()
53 if(a->start_col > b->end_col || b->start_col > a->end_col) in rect_intersects()
H A Dvterm.c244 abs(rightward) >= rect.end_col - rect.start_col) { in vterm_scroll_rect()
255 dest.start_col = rect.start_col; in vterm_scroll_rect()
257 src.start_col = rect.start_col + rightward; in vterm_scroll_rect()
266 dest.start_col = rect.start_col + leftward; in vterm_scroll_rect()
268 src.start_col = rect.start_col; in vterm_scroll_rect()
295 rect.start_col = rect.end_col - rightward; in vterm_scroll_rect()
297 rect.end_col = rect.start_col - rightward; in vterm_scroll_rect()
308 int rightward = src.start_col - dest.start_col; in vterm_copy_cells()
328 test_col = dest.start_col - 1; in vterm_copy_cells()
332 init_col = dest.start_col; in vterm_copy_cells()
H A Dscreen.c129 if(screen->damaged.start_col > rect.start_col) in damagerect()
130 screen->damaged.start_col = rect.start_col; in damagerect()
166 .start_col = 0, in damagescreen()
195 rect.start_col = pos.col; in putglyph()
214 dest.start_row == 0 && dest.start_col == 0 && // starts top-left corner in moverect_internal()
226 cols = src.end_col - src.start_col; in moverect_internal()
241 memmove(getcell(screen, row, dest.start_col), in moverect_internal()
242 getcell(screen, row + downward, src.start_col), in moverect_internal()
274 for(col = rect.start_col; col < rect.end_col; col++) { in erase_internal()
357 else if(rect.start_col <= screen->damaged.start_col && in scrollrect()
[all …]
H A Dstate.c87 if(rect.start_col == 0 && rect.end_col == state->cols && rightward == 0) { in scroll()
115 .start_col = SCROLLREGION_LEFT(state), in linefeed()
313 .start_col = state->pos.col, in on_text()
410 .start_col = SCROLLREGION_LEFT(state), in on_control()
960 rect.start_col = state->pos.col; in on_csi()
1039 rect.start_col = state->pos.col; rect.end_col = state->cols; in on_csi()
1040 if(rect.end_col > rect.start_col) in on_csi()
1044 rect.start_col = 0; in on_csi()
1053 rect.start_col = 0; rect.end_col = state->cols; in on_csi()
1056 if(rect.end_col > rect.start_col) in on_csi()
[all …]
/haiku/src/apps/serialconnect/
H A DTermView.cpp72 int x = updatedChars.start_col * fFontWidth + kBorderSpacing; in Draw()
82 pos.col = updatedChars.start_col; in Draw()
85 for (pos.col = updatedChars.start_col; in Draw()
367 rect.start_col = (int)floor(pixels.left / fFontWidth); in _PixelsToGlyphs()
379 rect.start_col, pixels.left, in _PixelsToGlyphs()
392 rect.left = glyphs.start_col * fFontWidth; in _GlyphsToPixels()
404 glyphs.start_col, rect.left, fFontWidth, in _GlyphsToPixels()
417 rect.start_col = 0; in _GlyphsToPixels()
468 r.start_col = oldPos.col; in _MoveCursor()
475 r.start_col = pos.col; in _MoveCursor()
[all …]
/haiku/src/apps/serialconnect/libvterm/include/
H A Dvterm.h29 int start_col; member
37 p.col >= r.start_col && p.col < r.end_col; in vterm_rect_contains()
44 rect->start_col += col_delta; rect->end_col += col_delta; in vterm_rect_move()