Searched refs:use_height (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/dialog/ |
H A D | treeview.c | 38 int use_height; member 128 data->box_y + data->use_height + 1, in print_list() 204 int use_height; in dlg_treeview() local 254 use_height = list_height; in dlg_treeview() 257 if (use_height == 0) { in dlg_treeview() 260 dlg_calc_listh(&height, &use_height, item_no); in dlg_treeview() 262 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH + use_height, use_width); in dlg_treeview() 293 use_height = height - MIN_HIGH - cur_y; in dlg_treeview() 294 if (use_height <= 0) in dlg_treeview() 295 use_height = 1; in dlg_treeview() [all …]
|
H A D | buildlist.c | 63 int use_height; /* actual size of column box */ member 431 } else if ((cur_row - top_row) >= all->use_height) { in fix_top_item() 432 top_item = row2index(all, cur_row + 1 - all->use_height, selected); in fix_top_item() 434 if (cur_row < all->use_height) { in fix_top_item() 604 all.use_height = list_height; in dlg_buildlist() 610 if (all.use_height == 0) { in dlg_buildlist() 613 dlg_calc_listh(&height, &all.use_height, item_no); in dlg_buildlist() 617 MIN_HIGH + all.use_height, all.use_width); in dlg_buildlist() 655 all.use_height = height - MIN_HIGH - cur_y; in dlg_buildlist() 656 if (all.use_height <= 0) in dlg_buildlist() [all …]
|
H A D | checklist.c | 42 int use_height; member 124 data->box_y + data->use_height + 1, in print_list() 256 all.use_height = list_height; in dlg_checklist() 259 if (all.use_height == 0) { in dlg_checklist() 262 dlg_calc_listh(&height, &all.use_height, item_no); in dlg_checklist() 266 MIN_HIGH + all.use_height, use_width); in dlg_checklist() 306 all.use_height = height - MIN_HIGH - cur_y; in dlg_checklist() 307 if (all.use_height <= 0) in dlg_checklist() 308 all.use_height = 1; in dlg_checklist() 310 max_choice = MIN(all.use_height, item_no); in dlg_checklist() [all …]
|