Lines Matching refs:rows

234 	int i, x, startx, y, rows, cols;  in draw_buttons()  local
237 getmaxyx(window, rows, cols); in draw_buttons()
238 y = rows - 2; in draw_buttons()
424 print_string(WINDOW *win, int *rows, int cols, int *y, int *x, wchar_t *str, in print_string() argument
448 if (*y >= *rows) { in print_string()
449 *rows = *y + 1; in print_string()
450 wresize(win, *rows, cols); in print_string()
478 int i, j, z, rows, cols, x, y, tablen; in print_textpad() local
487 getmaxyx(pad, rows, cols); in print_textpad()
497 print_string(pad, &rows, cols, &y, &x, string, in print_textpad()
529 if (y >= rows) { in print_textpad()
530 rows = y + 1; in print_textpad()
531 wresize(pad, rows, cols); in print_textpad()
740 text_size(struct bsddialog_conf *conf, int rows, int cols, const char *text, in text_size() argument
752 if (rows == BSDDIALOG_AUTOSIZE || rows == BSDDIALOG_FULLSCREEN) { in text_size()
755 maxhtext = rows - VBORDERS - rowsnotext; in text_size()
913 set_widget_size(struct bsddialog_conf *conf, int rows, int cols, int *h, int *w) in set_widget_size() argument
920 if (rows == BSDDIALOG_FULLSCREEN) in set_widget_size()
922 else if (rows < BSDDIALOG_FULLSCREEN) in set_widget_size()
924 else if (rows > BSDDIALOG_AUTOSIZE) /* fixed rows */ in set_widget_size()
925 *h = MIN(rows, maxheight); /* rows is at most maxheight */ in set_widget_size()
985 draw_borders(struct bsddialog_conf *conf, WINDOW *win, int rows, int cols, in draw_borders() argument
1019 mvwvline(win, 1, cols-1, rs, rows-2); in draw_borders()
1020 mvwaddch(win, rows-1, cols-1, br); in draw_borders()
1021 mvwhline(win, rows-1, 1, bs, cols-2); in draw_borders()
1026 new_boxed_window(struct bsddialog_conf *conf, int y, int x, int rows, int cols, in new_boxed_window() argument
1031 if ((win = newwin(rows, cols, y, x)) == NULL) { in new_boxed_window()
1038 draw_borders(conf, win, rows, cols, elev); in new_boxed_window()