Home
last modified time | relevance | path

Searched refs:mincols (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/bsddialog/lib/
H A Dlib_util.c594 int maxrows, int mincols, bool increasecols, int *h, int *w) in text_autosize() argument
602 mincols = MAX(mincols, tp->maxwordcols); in text_autosize()
603 mincols = MAX(mincols, in text_autosize()
605 mincols = MIN(mincols, maxwidth); in text_autosize()
617 if (x >= mincols) { in text_autosize()
630 if (x >= mincols) { in text_autosize()
636 if (tp->words[i] + x <= mincols) { in text_autosize()
[all...]
/freebsd/contrib/dialog/
H A Ddemo.pl110 my $mincols = ( $cols > 8 ) ? 8 : $cols;
158 while ( $wide > $mincols ) {
H A Deditbox.c369 int mincols = (3 * COLS / 4); in dlg_editbox() local
394 dlg_button_layout(buttons, &mincols); in dlg_editbox()
395 dlg_auto_size(title, "", &height, &width, 3 * LINES / 4, mincols); in dlg_editbox()
H A Dutil.c1348 int boxlines, int mincols) in real_auto_size() argument
1379 wide = MAX(title_length, mincols); in real_auto_size()
1405 if (*width < mincols && save_wide == 0) in real_auto_size()
1406 *width = mincols; in real_auto_size()
1431 int mincols) in dlg_auto_size() argument
1435 boxlines, mincols)); in dlg_auto_size()
1437 real_auto_size(title, prompt, height, width, boxlines, mincols); in dlg_auto_size()
1464 int mincols) in dlg_auto_sizefile() argument
1514 *width = MIN(SCOLS, MAX((len + nc), mincols)); in dlg_auto_sizefile()
H A Dcalendar.c727 int mincols = MIN_WIDE; in dialog_calendar() local
796 dlg_button_layout(buttons, &mincols); in dialog_calendar()
803 dlg_auto_size(title, prompt, &height, &width, 0, mincols); in dialog_calendar()