Lines Matching refs:win2
34 touchoverlap(WINDOW *win1, WINDOW *win2) in touchoverlap() argument
39 fprintf(outf, "TOUCHOVERLAP(%0.2o, %0.2o);\n", win1, win2); in touchoverlap()
41 starty = max(win1->_begy, win2->_begy); in touchoverlap()
42 startx = max(win1->_begx, win2->_begx); in touchoverlap()
43 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy); in touchoverlap()
44 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in touchoverlap()
52 win2->_begy, win2->_begx, win2->_begy + win2->_maxy, in touchoverlap()
53 win2->_begx + win2->_maxx); in touchoverlap()
57 starty -= win2->_begy; in touchoverlap()
58 startx -= win2->_begx; in touchoverlap()
59 endy -= win2->_begy; in touchoverlap()
60 endx -= win2->_begx; in touchoverlap()
63 (void) touchline(win2, y, startx, endx); in touchoverlap()