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