Lines Matching defs:height
14 static void print_buttons(WINDOW * dialog, int height, int width, int selected)
17 int y = height - 2;
29 int dialog_yesno(const char *title, const char *prompt, int height, int width)
35 if (getmaxy(stdscr) < (height + YESNO_HEIGHT_MIN))
42 y = (getmaxy(stdscr) - height) / 2;
44 draw_shadow(stdscr, y, x, height, width);
46 dialog = newwin(height, width, y, x);
49 draw_box(dialog, 0, 0, height, width,
52 mvwaddch(dialog, height - 3, 0, ACS_LTEE);
63 print_buttons(dialog, height, width, 0);
82 print_buttons(dialog, height, width, button);