Lines Matching defs:width
229 void attr_clear(WINDOW * win, int height, int width, chtype attr)
236 for (j = 0; j < width; j++)
304 int height, width;
311 getmaxyx(stdscr, height, width);
312 if (height < WINDOW_HEIGTH_MIN || width < WINDOW_WIDTH_MIN) {
352 void print_title(WINDOW *dialog, const char *title, int width)
355 int tlen = MIN(width - 2, strlen(title));
357 mvwaddch(dialog, 0, (width - tlen) / 2 - 1, ' ');
358 mvwaddnstr(dialog, 0, (width - tlen)/2, title, tlen);
369 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x)
379 if (prompt_len <= width - x * 2) { /* If prompt is short */
380 wmove(win, y, (width - prompt_len) / 2);
398 room = width - cur_x;
464 draw_box(WINDOW * win, int y, int x, int height, int width,
472 for (j = 0; j < width; j++)
477 else if (!i && j == width - 1)
479 else if (i == height - 1 && j == width - 1)
487 else if (j == width - 1)
498 void draw_shadow(WINDOW * win, int y, int x, int height, int width)
505 for (i = 0; i < width; i++)
508 wmove(win, i, x + width);