Lines Matching defs:xoff
68 u_int pane, idx, px, py, i, j, xoff, yoff, sx, sy;
73 if (wp->xoff + wp->sx <= ctx->ox ||
74 wp->xoff >= ctx->ox + ctx->sx ||
79 if (wp->xoff >= ctx->ox && wp->xoff + wp->sx <= ctx->ox + ctx->sx) {
81 xoff = wp->xoff - ctx->ox;
83 } else if (wp->xoff < ctx->ox &&
84 wp->xoff + wp->sx > ctx->ox + ctx->sx) {
86 xoff = 0;
88 } else if (wp->xoff < ctx->ox) {
90 xoff = 0;
91 sx = wp->sx - (ctx->ox - wp->xoff);
94 xoff = wp->xoff - ctx->ox;
95 sx = wp->sx - xoff;
150 tty_cursor(tty, xoff + px - len / 2, yoff + py);
155 tty_cursor(tty, xoff + px - len / 2, yoff + py);
172 tty_cursor(tty, xoff + i, yoff + py + j);
184 tty_cursor(tty, xoff + sx - rlen, yoff);
188 tty_cursor(tty, xoff + sx / 2 + len * 3 - llen - 1,