Lines Matching refs:begx
118 newwin(int num_lines, int num_columns, int begy, int begx)
124 T((T_CALLED("newwin(%d,%d,%d,%d)"), num_lines, num_columns, begy, begx));
126 if (begy < 0 || begx < 0 || num_lines < 0 || num_columns < 0)
132 num_columns = screen_columns - begx;
134 if ((win = _nc_makenew(num_lines, num_columns, begy, begx, 0)) == 0)
153 derwin(WINDOW *orig, int num_lines, int num_columns, int begy, int begx)
160 begy, begx));
165 if (begy < 0 || begx < 0 || orig == 0 || num_lines < 0 || num_columns < 0)
168 || begx + num_columns > orig->_maxx + 1)
175 num_columns = orig->_maxx + 1 - begx;
181 orig->_begx + begx, flags)) == 0)
185 win->_parx = begx;
190 win->_line[i].text = &orig->_line[begy++].text[begx];
201 T(("parent has begy = %ld, begx = %ld", (long) w->_begy, (long) w->_begx));
214 _nc_makenew(int num_lines, int num_columns, int begy, int begx, int flags)
221 T((T_CALLED("_nc_makenew(%d,%d,%d,%d)"), num_lines, num_columns, begy, begx));
246 win->_begx = begx;
303 if (!is_pad && (begx + num_columns == screen_columns)) {
306 if (begx == 0 && num_lines == screen_lines && begy == 0)