Searched refs:name_width (Results 1 – 4 of 4) sorted by relevance
/dragonfly/contrib/dialog/ |
H A D | checklist.c | 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() 350 (text_width + name_width)); in dlg_checklist() 351 name_width = (want > need) ? want : need; in dlg_checklist() 353 text_width = use_width - name_width; in dlg_checklist() 355 list_width = (text_width + name_width); in dlg_checklist() [all …]
|
H A D | menubox.c | 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() 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() 500 text_width = use_width - name_width; in dlg_menu() 502 list_width = (text_width + name_width); in dlg_menu() [all …]
|
H A D | buildlist.c | 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() 697 (text_width + name_width)); in dlg_buildlist() 698 name_width = (want > need) ? want : need; in dlg_buildlist() 700 text_width = all.use_width - name_width; in dlg_buildlist() 702 full_width = text_width + name_width; in dlg_buildlist() [all …]
|
H A D | treeview.c | 208 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()
|