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