Searched refs:menurows (Results 1 – 6 of 6) sorted by relevance
| /freebsd-14.2/contrib/bsddialog/lib/ |
| H A D | menubox.c | 151 i = menurows; in getfastnext() 167 i = menurows; in getfastprev() 330 if (totnitems > (int)menurows) { in update_menuwin() 361 notext += *menurows; in menu_autosize() 377 menusize = *menurows + 2; in menu_autosize() 393 *menurows = MIN(*h - 6 - htext, (int)*menurows); in menu_autosize() 419 if (nitems > 0 && menurows == 0) in menu_checksize() 542 ys = y + h - 5 - menurows + 1; in do_mixedlist() 554 ymenupad = abs - menurows + 1; in do_mixedlist() 555 update_menuwin(conf, menuwin, menurows+2, w-4, totnitems, menurows, in do_mixedlist() [all …]
|
| H A D | bsddialog.h | 182 int cols, unsigned int menurows, unsigned int nitems, 204 int cols, unsigned int menurows, unsigned int nitems, 214 int cols, unsigned int menurows, unsigned int ngroups, 227 int cols, unsigned int menurows, unsigned int nitems,
|
| H A D | formbox.c | 412 const char *text, int linelen, unsigned int *menurows, int nitems, in menu_autosize() argument 418 if (*menurows == BSDDIALOG_AUTOSIZE) { in menu_autosize() 425 notext += *menurows; in menu_autosize() 435 if (*menurows == BSDDIALOG_AUTOSIZE) { in menu_autosize() 439 *menurows = menusize - 2 < 0 ? 0 : menusize - 2; in menu_autosize() 441 menusize = *menurows + 2; in menu_autosize() 445 if (*menurows == BSDDIALOG_AUTOSIZE) { in menu_autosize() 447 *menurows = 0; /* form_checksize() will check */ in menu_autosize() 449 *menurows = MIN(*h-6-htext, nitems); in menu_autosize() 455 *menurows = 0; /* form_checksize() will check */ in menu_autosize() [all …]
|
| /freebsd-14.2/contrib/bsddialog/ |
| H A D | bsddialog.c | 1389 unsigned int menurows, nitems; in checklist_builder() local 1394 menurows = (u_int)strtoul(argv[0], NULL, 10); in checklist_builder() 1399 output = bsddialog_checklist(conf, text, rows, cols, menurows, nitems, in checklist_builder() 1412 unsigned int menurows, nitems; in menu_builder() local 1417 menurows = (u_int)strtoul(argv[0], NULL, 10); in menu_builder() 1422 output = bsddialog_menu(conf, text, rows, cols, menurows, nitems, in menu_builder() 1435 unsigned int menurows, nitems; in radiolist_builder() local 1440 menurows = (u_int)strtoul(argv[0], NULL, 10); in radiolist_builder() 1445 output = bsddialog_radiolist(conf, text, rows, cols, menurows, nitems, in radiolist_builder() 1458 unsigned int menurows, nitems; in treeview_builder() local [all …]
|
| H A D | CHANGELOG | 44 * change: fixed-menurows becames at most menurows (depending on text). 121 * fix: menurows autosize with fixed rows improving text_size(). 151 * fix: menurows autosize with fullscreen.
|
| /freebsd-14.2/usr.sbin/tzsetup/ |
| H A D | tzsetup.c | 108 int i, result, menurows, choice = 0; in xdialog_menu() local 126 menurows = item_no < 16 ? item_no : 16; in xdialog_menu() 128 BSDDIALOG_AUTOSIZE, menurows, item_no, listitems, &choice); in xdialog_menu()
|