Lines Matching refs:num_columns
142 int num_lines, int num_columns, int begy, int begx)
148 T((T_CALLED("newwin(%p, %d,%d,%d,%d)"), (void *) SP_PARM, num_lines, num_columns,
154 || num_columns < 0
160 if (num_columns == 0)
161 num_columns = screen_columns(SP_PARM) - begx;
164 num_lines, num_columns, begy, begx, 0);
169 win->_line[i].text = typeCalloc(NCURSES_CH_T, (unsigned) num_columns);
175 ptr < win->_line[i].text + num_columns;
185 newwin(int num_lines, int num_columns, int begy, int begx)
190 num_lines, num_columns, begy, begx);
197 derwin(WINDOW *orig, int num_lines, int num_columns, int begy, int begx)
206 T((T_CALLED("derwin(%p,%d,%d,%d,%d)"), (void *) orig, num_lines, num_columns,
212 if (begy < 0 || begx < 0 || orig == 0 || num_lines < 0 || num_columns < 0)
215 || begx + num_columns > orig->_maxx + 1)
221 if (num_columns == 0)
222 num_columns = orig->_maxx + 1 - begx;
227 win = NCURSES_SP_NAME(_nc_makenew) (NCURSES_SP_ARGx num_lines, num_columns,
270 int num_columns,
281 (void *) SP_PARM, num_lines, num_columns, begy, begx));
286 if (!dimension_limit(num_lines) || !dimension_limit(num_columns))
304 win->_maxx = (NCURSES_SIZE_T) (num_columns - 1);
316 && num_columns == screen_columns(SP_PARM)));
360 win->_line[i].lastchar = (NCURSES_SIZE_T) (num_columns - 1);
365 if (!is_padwin && (begx + num_columns == screen_columns(SP_PARM))) {