Lines Matching defs:wx

154 	short	sy, wy, wx, y_off, x_off, mx, dy_off, dx_off, endy;
276 wx = begx;
284 mx = wx + maxx;
287 wx += *wlp->firstchp - swin->ch_off;
293 if (x_off + (mx - wx) > screen->__virtscr->maxx)
299 while (wx < mx) {
303 wy, wx, y_off, x_off,
304 unctrl(wlp->line[wx].ch),
305 wlp->line[wx].attr, wlp->line[wx].cflags);
312 vlp->line[x_off].ch = wlp->line[wx].ch;
314 vlp->line[x_off].attr = wlp->line[wx].attr;
316 vlp->line[x_off].cflags = wlp->line[wx].cflags;
318 vlp->line[x_off].wcols = wlp->line[wx].wcols;
320 ch = wlp->line[wx].ch;
321 for (tx = x_off + 1, i = wlp->line[wx].wcols - 1;
331 wlp->line[wx].ch;
333 wlp->line[wx].attr;
335 wlp->line[wx].cflags;
338 wlp->line[wx].wcols;
340 for (tx = dx_off + 1, i = wlp->line[wx].wcols - 1;
351 if (wlp->line[wx].ch == win->bch) {
365 wlp->line[wx].cflags;
377 x_off += wlp->line[wx].wcols;
378 dx_off += wlp->line[wx].wcols;
379 wx += wlp->line[wx].wcols;
381 wx++;
1013 putch(__LDATA *nsp, __LDATA *csp, int wy, int wx)
1057 "putch: (%d,%d)putwchar(0x%x)\n", wy, wx, nsp->ch);
1060 __cursesi_putnsp(nsp->nsp, wy, wx);
1070 putchbr(__LDATA *nsp, __LDATA *csp, __LDATA *psp, int wy, int wx)
1076 return putch(nsp, csp, wy, wx);
1081 error = putch(nsp, csp, wy, wx);
1103 /* Write the corner character at wx - pcw. */
1104 __mvcur(wy, wx, wy, wx - pcw, 1);
1105 if (putch(nsp, csp, wy, wx) == ERR)
1109 __mvcur(wy, wx - pcw + cw, wy, wx - cw, 1);
1124 error = putch(psp, NULL, wy, wx - pcw);
1150 int lch, wx, owx, chw;
1209 wx = *win->alines[wy]->firstchp;
1210 if (wx < 0)
1211 wx = 0;
1213 if (wx >= win->maxx)
1226 csp = &curscr->alines[wy]->line[wx];
1228 "makech: csp is on curscr:(%d,%d)\n", wy, wx);
1232 while (win->alines[wy]->line[wx].cflags & CA_CONTINUATION) {
1233 wx--;
1234 if (wx <= 0) {
1235 wx = 0;
1240 nsp = fsp = &win->alines[wy]->line[wx];
1245 "makech: nsp is at curscr:(%d,%d)\n", wy, wx);
1248 "makech: nsp is at __virtscr:(%d,%d)\n", wy, wx);
1285 while (wx <= lch) {
1286 __CTRACE(__CTRACE_REFRESH, "makech: wx=%d,lch=%d, nlsp=%d\n", wx, lch, nlsp);
1303 if (wx <= lch) {
1304 while (wx <= lch && _cursesi_celleq(nsp, csp)) {
1306 wx += nsp->wcols;
1311 wx++;
1322 domvcur(win, _cursesi_screen->ly, _cursesi_screen->lx, wy, wx);
1324 __CTRACE(__CTRACE_REFRESH, "makech: 1: wx = %d, ly= %d, "
1326 wx, _cursesi_screen->ly, _cursesi_screen->lx, wy, wx, lch);
1328 _cursesi_screen->lx = wx;
1329 owx = wx;
1330 while (wx <= lch &&
1333 if ((ce != NULL) && (wx >= nlsp) &&
1366 ((mlsp - wx) > strlen(ce))) &&
1369 if (wlp->line[wx].attr & win->screen->nca) {
1379 _cursesi_screen->lx = wx + win->begx;
1380 csp = &curscr->alines[wy]->line[wx + win->begx];
1381 wx = wx + win->begx;
1382 while (wx++ <= (curscr->maxx - 1)) {
1407 owx = wx;
1408 if (wx + chw >= (win->maxx) &&
1417 e = putch(nsp, csp, wy, wx);
1421 wy, wx);
1426 if (wx + chw < curscr->maxx) {
1428 _cursesi_screen->ly, wx,
1436 if (wx + chw < win->maxx || wy < win->maxy - 1 ||
1439 if (putch(nsp, csp, wy, wx) == ERR)
1445 wx += chw;
1451 "makech: 2: wx = %d, lx = %d\n",
1452 wx, _cursesi_screen->lx);
1454 if (_cursesi_screen->lx == wx) /* If no change. */
1463 if ((wy == win->cury) && (wx > win->curx) &&
1466 domvcur(win, _cursesi_screen->ly, wx,
1469 _cursesi_screen->lx = wx;
1474 if (wx >= win->maxx) {
1482 __CTRACE(__CTRACE_REFRESH, "makech: 3: wx = %d, lx = %d\n",
1483 wx, _cursesi_screen->lx);
2102 __cursesi_putnsp(nschar_t *nsp, const int wy, const int wx)
2106 /* this shuts up gcc warnings about wx and wy not being used */
2107 if (wx > wy) {
2115 wy, wx - 1, p->ch);