Home
last modified time | relevance | path

Searched refs:win1 (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/ucblib/libcurses/
H A Dtoucholap.c32 touchoverlap(WINDOW *win1, WINDOW *win2) in touchoverlap() argument
37 fprintf(outf, "TOUCHOVERLAP(%0.2o, %0.2o);\n", win1, win2); in touchoverlap()
39 starty = max(win1->_begy, win2->_begy); in touchoverlap()
40 startx = max(win1->_begx, win2->_begx); in touchoverlap()
41 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy); in touchoverlap()
42 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in touchoverlap()
47 win1->_begy, win1->_begx, win1->_begy + win1->_maxy, in touchoverlap()
48 win1->_begx + win1->_maxx); in touchoverlap()
H A Doverlay.c33 overlay(WINDOW *win1, WINDOW *win2) in overlay() argument
40 fprintf(outf, "OVERLAY(%0.2o, %0.2o);\n", win1, win2); in overlay()
42 starty = max(win1->_begy, win2->_begy); in overlay()
43 startx = max(win1->_begx, win2->_begx); in overlay()
44 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy); in overlay()
45 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in overlay()
52 y1 = starty - win1->_begy; in overlay()
55 end = &win1->_y[y1][endx - win1->_begx]; in overlay()
57 for (sp = &win1->_y[y1][startx - win1->_begx]; sp < end; sp++) { in overlay()
H A Doverwrite.c34 overwrite(WINDOW *win1, WINDOW *win2) in overwrite() argument
39 fprintf(outf, "OVERWRITE(%0.2o, %0.2o);\n", win1, win2); in overwrite()
41 starty = max(win1->_begy, win2->_begy); in overwrite()
42 startx = max(win1->_begx, win2->_begx); in overwrite()
43 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy); in overwrite()
44 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in overwrite()
54 &win1->_y[y - win1->_begy][startx - win1->_begx], x); in overwrite()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dscr_reset.c77 WINDOW *win = NULL, *win1 = NULL; in scr_reset() local
126 ((type == 2) && ((win1 = dupwin(win)) == NULL)) || in scr_reset()
255 if (win1 != NULL) in scr_reset()
256 (void) delwin(win1); in scr_reset()
284 SP->virt_scr = _virtscr = win1; in scr_reset()