Lines Matching defs:win
32 waddch(WINDOW *win, char c)
37 x = win->_curx;
38 y = win->_cury;
45 if (waddch(win, ' ') == ERR)
52 " lastch = %d\n", y, x, win->_firstch[y],
53 win->_lastch[y]);
55 if (win->_flags & _STANDOUT)
57 set_ch(win, y, x, c);
58 win->_y[y][x++] = c;
59 if (x >= win->_maxx) {
62 if (++y >= win->_maxy)
63 if (win->_scroll) {
64 (void) scroll(win);
72 " lastch = %d\n", y, x, win->_firstch[y],
73 win->_lastch[y]);
77 (void) wclrtoeol(win);
89 win->_curx = (short)x;
90 win->_cury = (short)y;
100 set_ch(WINDOW *win, int y, int x, int ch)
103 fprintf(outf, "SET_CH(%0.2o, %d, %d)\n", win, y, x);
105 if (win->_y[y][x] != ch) {
106 x += win->_ch_off;
107 if (win->_firstch[y] == _NOCHANGE)
108 win->_firstch[y] = win->_lastch[y] = (short)x;
109 else if (x < win->_firstch[y])
110 win->_firstch[y] = (short)x;
111 else if (x > win->_lastch[y])
112 win->_lastch[y] = (short)x;
115 win->_firstch[y], win->_lastch[y],
116 win->_firstch[y] - win->_ch_off,
117 win->_lastch[y] - win->_ch_off);