Lines Matching refs:win2
32 * This routine writes win1 on win2 destructively.
36 overwrite(WINDOW *win1, WINDOW *win2)
41 fprintf(outf, "OVERWRITE(%0.2o, %0.2o);\n", win1, win2);
43 starty = max(win1->_begy, win2->_begy);
44 startx = max(win1->_begx, win2->_begx);
45 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy);
46 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx);
55 (void) memmove(&win2->_y[y - win2->_begy][startx - win2->_begx],
57 (void) touchline(win2, y, startx - win2->_begx,
58 endx - win2->_begx);