Lines Matching refs:padwin
105 WINDOW *padwin = pad->_padwin;
141 if (((padwin->_cury = pad->_cury - pminy) < 0) ||
142 (padwin->_cury >= prows))
143 padwin->_cury = 0;
144 if (((padwin->_curx = pad->_curx - pminx) < 0) ||
145 (padwin->_curx >= pcols))
146 padwin->_curx = 0;
148 padwin->_leave = pad->_leave;
149 padwin->_use_idl = pad->_use_idl;
153 * If padwin refers to the same derwin, return. Otherwise
154 * update the coordinates and malloc'ed areas of the padwin
157 if ((padwin->_begy == sminy) && (padwin->_begx == sminx) &&
158 (padwin->_maxy == prows) && (padwin->_maxx == pcols) &&
159 (padwin->_y[0] == (pad->_y[pminy] + pminx)) &&
166 padwin->_maxy = prows;
167 padwin->_maxx = pcols;
169 padwin->_begy = (short)sminy;
171 padwin->_begx = (short)sminx;
173 padwin->_pary = (short)pminy;
175 padwin->_parx = (short)pminx;
179 p_y = padwin->_y;
185 (void) wtouchln(padwin, 0, prows, TRUE);