Lines Matching defs:width
64 static void display_string_in_field(int y, int x, const char *s, int width, enum align align)
72 string_width = width;
74 if (string_width >= width) {
78 spaces = width - string_width;
88 spaces = x + width - cur_x;
339 int width = get_mbs_width(s);
340 if (width <= screen_cols - 2)
341 mvwaddstr(mixer_widget.window, line, (screen_cols - width) / 2, s);
394 static void display_string_centered_in_control(int y, int col, const char *s, int width)
399 x = left + (control_width - width) / 2;
400 display_string_in_field(y, x, s, width, ALIGN_CENTER);