Lines Matching defs:bx
48 int bx, int sub, int ispad);
49 static WINDOW *__subwin(WINDOW *orig, int nlines, int ncols, int by, int bx,
54 * Create a new window in the same manner as subwin but (by, bx)
58 derwin(WINDOW *orig, int nlines, int ncols, int by, int bx)
61 return __subwin(orig, nlines, ncols, orig->begy + by, orig->begx + bx,
67 * Create a new pad in the same manner as subwin but (by, bx)
71 subpad(WINDOW *orig, int nlines, int ncols, int by, int bx)
74 return __subwin(orig, nlines, ncols, orig->begy + by, orig->begx + bx,
104 newwin(int nlines, int ncols, int by, int bx)
107 return __newwin(_cursesi_screen, nlines, ncols, by, bx, FALSE, FALSE);
124 __newwin(SCREEN *screen, int nlines, int ncols, int by, int bx, int ispad,
133 if (by < 0 || bx < 0)
143 maxx = ncols > 0 ? ncols : COLS - bx + ncols;
145 if ((win = __makenew(screen, maxy, maxx, by, bx, 0, ispad)) == NULL)
185 subwin(WINDOW *orig, int nlines, int ncols, int by, int bx)
188 return __subwin(orig, nlines, ncols, by, bx, FALSE);
192 __subwin(WINDOW *orig, int nlines, int ncols, int by, int bx, int ispad)
200 orig, nlines, ncols, by, bx, ispad);
207 maxx = ncols > 0 ? ncols : orig->maxx + orig->begx - bx + ncols;
208 if (by < orig->begy || bx < orig->begx
210 || bx + maxx > orig->maxx + orig->begx)
213 by, bx, 1, ispad)) == NULL)
260 __makenew(SCREEN *screen, int nlines, int ncols, int by, int bx, int sub,
270 nlines, ncols, by, bx);
355 win->begx = bx;