Home
last modified time | relevance | path

Searched refs:needed_w (Results 1 – 3 of 3) sorted by relevance

/dports/net-im/uTox/uTox/src/ui/
H A Dtooltip.c27 const int needed_w = textwidth(s->str, s->length) + SCALE(8); in calculate_pos_and_width() local
28 if (*w < needed_w) { in calculate_pos_and_width()
29 *w = needed_w; in calculate_pos_and_width()
H A Dcontextmenu.c24 int needed_w = textwidth(name->str, name->length) + SCALE(8); in calculate_pos_and_width() local
25 if (*w < needed_w) { in calculate_pos_and_width()
26 *w = needed_w; in calculate_pos_and_width()
H A Ddropdown.c52 int needed_w = textwidth(e->str, e->length) + SCALE(8); in dropdown_drawactive() local
53 if (w < needed_w) { in dropdown_drawactive()
54 w = needed_w; in dropdown_drawactive()