Home
last modified time | relevance | path

Searched refs:win2 (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/ucblib/libcurses/
H A Dtoucholap.c34 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()
[all …]
H A Doverwrite.c36 overwrite(WINDOW *win1, WINDOW *win2) in overwrite() argument
41 fprintf(outf, "OVERWRITE(%0.2o, %0.2o);\n", win1, win2); in overwrite()
43 starty = max(win1->_begy, win2->_begy); in overwrite()
44 startx = max(win1->_begx, win2->_begx); in overwrite()
45 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy); in overwrite()
46 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in overwrite()
55 (void) memmove(&win2->_y[y - win2->_begy][startx - win2->_begx], in overwrite()
57 (void) touchline(win2, y, startx - win2->_begx, in overwrite()
58 endx - win2->_begx); in overwrite()
H A Doverlay.c35 overlay(WINDOW *win1, WINDOW *win2) in overlay() argument
42 fprintf(outf, "OVERLAY(%0.2o, %0.2o);\n", win1, win2); in overlay()
44 starty = max(win1->_begy, win2->_begy); in overlay()
45 startx = max(win1->_begx, win2->_begx); in overlay()
46 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy); in overlay()
47 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in overlay()
55 y2 = starty - win2->_begy; in overlay()
58 x = startx - win2->_begx; in overlay()
61 (void) mvwaddch(win2, y2, x, *sp); in overlay()