Lines Matching refs:win
32 touchwin(WINDOW *win) in touchwin() argument
37 fprintf(outf, "TOUCHWIN(%0.2o)\n", win); in touchwin()
39 maxy = win->_maxy; in touchwin()
41 (void) touchline(win, y, 0, win->_maxx - 1); in touchwin()
50 touchline(WINDOW *win, int y, int sx, int ex) in touchline() argument
53 fprintf(outf, "TOUCHLINE(%0.2o, %d, %d, %d)\n", win, y, sx, ex); in touchline()
55 win->_firstch[y], win->_lastch[y]); in touchline()
57 sx += win->_ch_off; in touchline()
58 ex += win->_ch_off; in touchline()
59 if (win->_firstch[y] == _NOCHANGE) { in touchline()
60 win->_firstch[y] = (short)sx; in touchline()
61 win->_lastch[y] = (short)ex; in touchline()
63 if (win->_firstch[y] > sx) in touchline()
64 win->_firstch[y] = (short)sx; in touchline()
65 if (win->_lastch[y] < ex) in touchline()
66 win->_lastch[y] = (short)ex; in touchline()
70 win->_firstch[y], win->_lastch[y]); in touchline()