Home
last modified time | relevance | path

Searched refs:strcols (Results 1 – 5 of 5) sorted by relevance

/freebsd-14-stable/contrib/bsddialog/lib/
HDmenubox.c239 labellen = strcols(name) + strcols(desc) + 1; in drawseparators()
244 if (strcols(name) > 0 && strcols(desc) > 0) in drawseparators()
461 strcols(item->name) + strcols(item->desc)); in do_mixedlist()
465 pos.maxprefix = MAX(pos.maxprefix,strcols(item->prefix)); in do_mixedlist()
467 pos.maxname = MAX(pos.maxname, strcols(item->name)); in do_mixedlist()
468 pos.maxdesc = MAX(pos.maxdesc, strcols(item->desc)); in do_mixedlist()
HDlib_util.c123 unsigned int strcols(const char *mbstring) in strcols() function
219 x = x + 1 + ((size - 2 - strcols(text))/2); in draw_button()
335 bs->sizebutton = MAX(SIZEBUTTON - 2, strcols(bs->label[0])); in get_buttons()
337 bs->sizebutton = MAX(bs->sizebutton, strcols(bs->label[i])); in get_buttons()
892 wtitle = strcols(conf->title); in widget_min_width()
898 wbottomtitle = strcols(conf->bottomtitle); in widget_min_width()
1061 if ((wtitle = strcols(conf->title)) < 0) in draw_dialog()
1093 if ((wbottomtitle = strcols(conf->bottomtitle)) < 0) in draw_dialog()
HDlib_util.h50 unsigned int strcols(const char *mbstring);
HDbarbox.c244 max_minbarlen = MAX(max_minbarlen, (int)strcols(minilabels[i])); in do_mixedgauge()
HDformbox.c593 form.w = MAX(form.w, items[i].xlabel + strcols(items[i].label)); in bsddialog_form()