Home
last modified time | relevance | path

Searched refs:name_width (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/dialog/
H A Dchecklist.c309 name_width = 0; in dlg_checklist()
313 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_checklist()
324 list_width = MIN(all.use_width, name_width); in dlg_checklist()
327 && name_width >= 0 in dlg_checklist()
329 && text_width + name_width > use_width) { in dlg_checklist()
331 if (name_width > need) { in dlg_checklist()
333 (text_width + name_width)); in dlg_checklist()
334 name_width = (want > need) ? want : need; in dlg_checklist()
336 text_width = use_width - name_width; in dlg_checklist()
338 list_width = (text_width + name_width); in dlg_checklist()
[all …]
H A Dmenubox.c432 name_width = 0; in dlg_menu()
439 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_menu()
453 list_width = MIN(use_width, name_width); in dlg_menu()
456 && name_width >= 0 in dlg_menu()
460 if (name_width > need) { in dlg_menu()
462 * ((double) name_width) in dlg_menu()
463 / (text_width + name_width)); in dlg_menu()
464 name_width = (want > need) ? want : need; in dlg_menu()
466 text_width = use_width - name_width; in dlg_menu()
468 list_width = (text_width + name_width); in dlg_menu()
[all …]
H A Dbuildlist.c572 name_width = 0; in dlg_buildlist()
576 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_buildlist()
587 full_width = MIN(all.use_width, name_width); in dlg_buildlist()
590 && name_width >= 0 in dlg_buildlist()
592 && text_width + name_width > all.use_width) { in dlg_buildlist()
594 if (name_width > need) { in dlg_buildlist()
596 (text_width + name_width)); in dlg_buildlist()
597 name_width = (want > need) ? want : need; in dlg_buildlist()
599 text_width = all.use_width - name_width; in dlg_buildlist()
601 full_width = text_width + name_width; in dlg_buildlist()
[all …]
H A Dtreeview.c205 int use_width, name_width, text_width, tree_width; in dlg_treeview() local
309 name_width = 0; in dlg_treeview()
315 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_treeview()
320 tree_width += name_width; in dlg_treeview()
322 tree_width += (text_width + name_width); in dlg_treeview()
333 : (2 + name_width))) in dlg_treeview()