Searched refs:text_width (Results 1 – 7 of 7) sorted by relevance
| /dflybsd-src/contrib/dialog/ |
| H A D | checklist.c | 202 int use_width, list_width, name_width, text_width; in dlg_checklist() local 325 text_width = 0; in dlg_checklist() 329 text_width = MAX(text_width, dlg_count_columns(items[i].text)); in dlg_checklist() 339 list_width = MIN(all.use_width, text_width); in dlg_checklist() 343 if (text_width >= 0 in dlg_checklist() 346 && text_width + name_width > use_width) { in dlg_checklist() 350 (text_width + name_width)); in dlg_checklist() 353 text_width = use_width - name_width; in dlg_checklist() 355 list_width = (text_width + name_width); in dlg_checklist()
|
| H A D | menubox.c | 367 int use_width, name_width, text_width, list_width; in dlg_menu() local 467 text_width = 0; in dlg_menu() 474 text_width = MAX(text_width, dlg_count_columns(items[i].text)); in dlg_menu() 485 list_width = MIN(use_width, text_width); in dlg_menu() 489 if (text_width >= 0 in dlg_menu() 492 && text_width + name_width > use_width) { in dlg_menu() 497 / (text_width + name_width)); in dlg_menu() 500 text_width = use_width - name_width; in dlg_menu() 502 list_width = (text_width + name_width); in dlg_menu()
|
| H A D | treeview.c | 208 int use_width, name_width, text_width, tree_width; in dlg_treeview() local 312 text_width = 0; in dlg_treeview() 318 text_width = MAX(text_width, dlg_count_columns(items[i].text)); in dlg_treeview() 322 tree_width += text_width; in dlg_treeview() 326 tree_width += (text_width + name_width); in dlg_treeview()
|
| H A D | buildlist.c | 560 int name_width, text_width, full_width, list_width; in dlg_buildlist() local 672 text_width = 0; in dlg_buildlist() 676 text_width = MAX(text_width, dlg_count_columns(items[i].text)); in dlg_buildlist() 686 full_width = MIN(all.use_width, text_width); in dlg_buildlist() 690 if (text_width >= 0 in dlg_buildlist() 693 && text_width + name_width > all.use_width) { in dlg_buildlist() 697 (text_width + name_width)); in dlg_buildlist() 700 text_width = all.use_width - name_width; in dlg_buildlist() 702 full_width = text_width + name_width; in dlg_buildlist()
|
| H A D | dialog.h | 349 int text_width; member
|
| H A D | util.c | 1037 dialog_state.text_width = 0; in justify_text() 1386 dialog_state.text_width = *width; in real_auto_size() 1432 dialog_state.text_height, dialog_state.text_width)); in dlg_auto_size()
|
| H A D | dialog.c | 1471 dialog_state.text_width); in PrintTextOnly()
|