Home
last modified time | relevance | path

Searched refs:rightward (Results 1 – 5 of 5) sorted by relevance

/haiku/src/apps/serialconnect/libvterm/src/
H A Dvterm.c235 int rightward, in vterm_scroll_rect() argument
244 abs(rightward) >= rect.end_col - rect.start_col) { in vterm_scroll_rect()
250 if(rightward >= 0) { in vterm_scroll_rect()
256 dest.end_col = rect.end_col - rightward; in vterm_scroll_rect()
257 src.start_col = rect.start_col + rightward; in vterm_scroll_rect()
265 int leftward = -rightward; in vterm_scroll_rect()
294 if(rightward > 0) in vterm_scroll_rect()
295 rect.start_col = rect.end_col - rightward; in vterm_scroll_rect()
296 else if(rightward < 0) in vterm_scroll_rect()
297 rect.end_col = rect.start_col - rightward; in vterm_scroll_rect()
[all …]
H A Dscreen.c305 static int scrollrect(VTermRect rect, int downward, int rightward, void *user) in scrollrect() argument
309 vterm_scroll_rect(rect, downward, rightward, in scrollrect()
315 vterm_scroll_rect(rect, downward, rightward, in scrollrect()
329 screen->pending_scroll_rightward = rightward; in scrollrect()
333 (screen->pending_scroll_rightward == 0 && rightward == 0))) { in scrollrect()
335 screen->pending_scroll_rightward += rightward; in scrollrect()
342 screen->pending_scroll_rightward = rightward; in scrollrect()
349 vterm_rect_move(&screen->damaged, -downward, -rightward); in scrollrect()
359 rightward == 0) { in scrollrect()
H A Dstate.c81 static void scroll(VTermState *state, VTermRect rect, int downward, int rightward) in scroll() argument
83 if(!downward && !rightward) in scroll()
87 if(rect.start_col == 0 && rect.end_col == state->cols && rightward == 0) { in scroll()
101 if((*state->callbacks->scrollrect)(rect, downward, rightward, state->cbdata)) in scroll()
105 vterm_scroll_rect(rect, downward, rightward, in scroll()
/haiku/src/apps/serialconnect/libvterm/include/
H A Dvterm.h184 int (*scrollrect)(VTermRect rect, int downward, int rightward, void *user);
292 int rightward,
/haiku/src/apps/mail/
H A Dwords22370 rightward