Lines Matching defs:width
239 void attr_clear(WINDOW * win, int height, int width, chtype attr)
246 for (j = 0; j < width; j++)
297 void print_title(WINDOW *dialog, const char *title, int width)
300 int tlen = MIN(width - 2, strlen(title));
302 mvwaddch(dialog, 0, (width - tlen) / 2 - 1, ' ');
303 mvwaddnstr(dialog, 0, (width - tlen)/2, title, tlen);
314 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x)
332 if (prompt_len <= width - x * 2) { /* If prompt is short */
333 wmove(win, y, (width - prompt_len) / 2);
348 room = width - cur_x;
406 draw_box(WINDOW * win, int y, int x, int height, int width,
414 for (j = 0; j < width; j++)
419 else if (!i && j == width - 1)
421 else if (i == height - 1 && j == width - 1)
429 else if (j == width - 1)
440 void draw_shadow(WINDOW * win, int y, int x, int height, int width)
447 for (i = 0; i < width; i++)
450 wmove(win, i, x + width);