Home
last modified time | relevance | path

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

/dragonfly/contrib/dialog/
HDchecklist.c202 int use_width, list_width, name_width, text_width; in dlg_checklist() local
326 name_width = 0; in dlg_checklist()
330 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_checklist()
341 list_width = MIN(all.use_width, name_width); in dlg_checklist()
344 && name_width >= 0 in dlg_checklist()
346 && text_width + name_width > use_width) { in dlg_checklist()
348 if (name_width > need) { in dlg_checklist()
349 int want = (int) (use_width * ((double) name_width) / in dlg_checklist()
350 (text_width + name_width)); in dlg_checklist()
351 name_width = (want > need) ? want : need; in dlg_checklist()
[all …]
HDmenubox.c367 int use_width, name_width, text_width, list_width; in dlg_menu() local
466 name_width = 0; in dlg_menu()
473 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_menu()
487 list_width = MIN(use_width, name_width); in dlg_menu()
490 && name_width >= 0 in dlg_menu()
492 && text_width + name_width > use_width) { in dlg_menu()
494 if (name_width > need) { in dlg_menu()
496 * ((double) name_width) in dlg_menu()
497 / (text_width + name_width)); in dlg_menu()
498 name_width = (want > need) ? want : need; in dlg_menu()
[all …]
HDbuildlist.c560 int name_width, text_width, full_width, list_width; in dlg_buildlist() local
673 name_width = 0; in dlg_buildlist()
677 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_buildlist()
688 full_width = MIN(all.use_width, name_width); in dlg_buildlist()
691 && name_width >= 0 in dlg_buildlist()
693 && text_width + name_width > all.use_width) { in dlg_buildlist()
695 if (name_width > need) { in dlg_buildlist()
696 int want = (int) (all.use_width * ((double) name_width) / in dlg_buildlist()
697 (text_width + name_width)); in dlg_buildlist()
698 name_width = (want > need) ? want : need; in dlg_buildlist()
[all …]
HDtreeview.c208 int use_width, name_width, text_width, tree_width; in dlg_treeview() local
313 name_width = 0; in dlg_treeview()
319 name_width = MAX(name_width, dlg_count_columns(items[i].name)); in dlg_treeview()
324 tree_width += name_width; in dlg_treeview()
326 tree_width += (text_width + name_width); in dlg_treeview()
337 : (2 + name_width))) in dlg_treeview()