Lines Matching full:rows

678 text_size(struct bsddialog_conf *conf, int rows, int cols, const char *text,  in text_size()  argument
689 /* Rows */ in text_size()
690 if (rows == BSDDIALOG_AUTOSIZE || rows == BSDDIALOG_FULLSCREEN) { in text_size()
693 maxhtext = rows - BORDERS - rowsnotext; in text_size()
799 set_widget_size(struct bsddialog_conf *conf, int rows, int cols, int *h, int *w) in set_widget_size() argument
806 if (rows == BSDDIALOG_FULLSCREEN) in set_widget_size()
808 else if (rows < BSDDIALOG_FULLSCREEN) in set_widget_size()
810 else if (rows > BSDDIALOG_AUTOSIZE) /* fixed rows */ in set_widget_size()
811 *h = MIN(rows, maxheight); /* rows is at most maxheight */ in set_widget_size()
812 /* rows == AUTOSIZE: each widget has to set its size */ in set_widget_size()
829 set_widget_autosize(struct bsddialog_conf *conf, int rows, int cols, int *h, in set_widget_autosize() argument
835 if (rows == BSDDIALOG_AUTOSIZE || cols == BSDDIALOG_AUTOSIZE || in set_widget_autosize()
837 if (text_size(conf, rows, cols, text, bs, hnotext, minw, in set_widget_autosize()
844 if (rows == BSDDIALOG_AUTOSIZE) { in set_widget_autosize()
865 RETURN_FMTERROR("Current rows: %d, needed at least: %d", in widget_checksize()
923 if (set_widget_size(d->conf, d->rows, d->cols, &d->h, &d->w) != 0) in dialog_size_position()
925 if (set_widget_autosize(d->conf, d->rows, d->cols, &d->h, &d->w, in dialog_size_position()
1128 print_string(WINDOW *win, int *rows, int cols, int *y, int *x, wchar_t *str, in print_string() argument
1156 if (*y >= *rows) { in print_string()
1157 *rows = *y + 1; in print_string()
1158 wresize(win, *rows, cols); in print_string()
1187 int i, j, z, rows, cols, x, y, tablen; in print_textpad() local
1196 getmaxyx(pad, rows, cols); in print_textpad()
1206 print_string(pad, &rows, cols, &y, &x, string, in print_textpad()
1238 if (y >= rows) { in print_textpad()
1239 rows = y + 1; in print_textpad()
1240 wresize(pad, rows, cols); in print_textpad()
1338 prepare_dialog(struct bsddialog_conf *conf, const char *text, int rows, in prepare_dialog() argument
1345 d->rows = rows; in prepare_dialog()