Lines Matching refs:win
47 wrefresh(WINDOW *win)
51 T((T_CALLED("wrefresh(%p)"), win));
53 if (win == 0) {
55 } else if (win == curscr) {
58 } else if ((code = wnoutrefresh(win)) == OK) {
59 if (win->_clear)
68 win->_clear = FALSE;
74 wnoutrefresh(WINDOW *win)
85 T((T_CALLED("wnoutrefresh(%p)"), win));
88 _tracedump("...win", win);
94 if ((win == 0)
95 || (win->_flags & _ISPAD))
98 /* put them here so "win == 0" won't break our code */
99 begx = win->_begx;
100 begy = win->_begy;
102 newscr->_nc_bkgd = win->_nc_bkgd;
103 newscr->_attrs = win->_attrs;
106 wsyncdown(win);
115 * whole band and rewriting the parts outside win's image would look
123 wide = (begx <= 1 && win->_maxx >= (newscr->_maxx - 1));
126 win->_flags &= ~_HASMOVED;
136 limit_x = win->_maxx;
141 for (i = 0, m = begy + win->_yoffset;
142 i <= win->_maxy && m <= newscr->_maxy;
145 register struct ldat *oline = &win->_line[i];
166 + win->_yoffset;
174 if (win->_clear) {
175 win->_clear = FALSE;
179 if (!win->_leaveok) {
180 newscr->_cury = win->_cury + win->_begy + win->_yoffset;
181 newscr->_curx = win->_curx + win->_begx;
183 newscr->_leaveok = win->_leaveok;