Home | History | Annotate | Download | only in lxdialog

Lines Matching refs:width

29 static void print_buttons(WINDOW * dialog, int height, int width, int selected)
31 int x = width / 2 - 11;
44 int dialog_inputbox(const char *title, const char *prompt, int height, int width,
60 if (getmaxx(stdscr) <= (width - 2))
64 x = (COLS - width) / 2;
67 draw_shadow(stdscr, y, x, height, width);
69 dialog = newwin(height, width, y, x);
72 draw_box(dialog, 0, 0, height, width,
76 for (i = 0; i < width - 2; i++)
81 print_title(dialog, title, width);
84 print_autowrap(dialog, prompt, width - 2, 1, 3);
87 box_width = width - 6;
90 box_x = (width - box_width) / 2;
94 print_buttons(dialog, height, width, 0);
184 print_buttons(dialog, height, width, 1);
188 print_buttons(dialog, height, width, 0);
194 print_buttons(dialog, height, width, 0);
204 print_buttons(dialog, height, width, 0);
208 print_buttons(dialog, height, width, 1);
212 print_buttons(dialog, height, width, 0);