Home
last modified time | relevance | path

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

/src/contrib/bsddialog/lib/
H A Dmenubox.c66 unsigned int menurows; /* real menurows after menu_size_position() */ member
248 getfastnext(int menurows, int npritems, struct privateitem *pritems, int abs) in getfastnext() argument
253 i = menurows; in getfastnext()
258 } while (abs != a && abs < start + menurows && i > 0); in getfastnext()
264 getfastprev(int menurows, struct privateitem *pritems, int abs) in getfastprev() argument
269 i = menurows; in getfastprev()
274 } while (abs != a && abs > start - menurows && i > 0); in getfastprev()
406 if (m->nitems > (int)m->menurows) { in update_menubox()
411 if ((m->ypad + (int)m->menurows) < m->nitems) in update_menubox()
415 100 * (m->ypad + m->menurows) / m->nitems); in update_menubox()
[all …]
H A Dbsddialog.h195 int cols, unsigned int menurows, unsigned int nitems,
217 int cols, unsigned int menurows, unsigned int nitems,
227 int cols, unsigned int menurows, unsigned int ngroups,
240 int cols, unsigned int menurows, unsigned int nitems,
/src/contrib/bsddialog/utility/
H A Dutil_builders.c434 unsigned int menurows, nitems; in checklist_builder() local
439 menurows = (unsigned int)strtoul(argv[0], NULL, 10); in checklist_builder()
444 output = bsddialog_checklist(conf, text, rows, cols, menurows, nitems, in checklist_builder()
459 unsigned int menurows, nitems; in menu_builder() local
464 menurows = (unsigned int)strtoul(argv[0], NULL, 10); in menu_builder()
470 output = bsddialog_menu(conf, text, rows, cols, menurows, nitems, in menu_builder()
485 unsigned int menurows, nitems; in radiolist_builder() local
490 menurows = (unsigned int)strtoul(argv[0], NULL, 10); in radiolist_builder()
495 output = bsddialog_radiolist(conf, text, rows, cols, menurows, nitems, in radiolist_builder()
510 unsigned int menurows, nitems; in treeview_builder() local
[all …]
/src/usr.sbin/tzsetup/
H A Dtzsetup.c108 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()
/src/contrib/bsddialog/
H A DCHANGELOG226 * fix: extend menurows after shrink and enlarge.
318 * change: fixed-menurows becomes at most menurows (depending on text).
395 * fix: menurows autosize with fixed rows improving text_size().
425 * fix: menurows autosize with fullscreen.