Lines Matching refs:width
88 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
90 int x = width / 2 - 11; in print_buttons()
105 int width, int list_height) in dialog_checklist() argument
124 if (getmaxx(stdscr) < (width + CHECKLIST_WIDTH_MIN)) in dialog_checklist()
130 x = (getmaxx(stdscr) - width) / 2; in dialog_checklist()
133 draw_shadow(stdscr, y, x, height, width); in dialog_checklist()
135 dialog = newwin(height, width, y, x); in dialog_checklist()
138 draw_box(dialog, 0, 0, height, width, in dialog_checklist()
142 for (i = 0; i < width - 2; i++) in dialog_checklist()
147 print_title(dialog, title, width); in dialog_checklist()
150 print_autowrap(dialog, prompt, width - 2, 1, 3); in dialog_checklist()
152 list_width = width - 6; in dialog_checklist()
154 box_x = (width - list_width) / 2 - 1; in dialog_checklist()
189 print_buttons(dialog, height, width, 0); in dialog_checklist()
296 print_buttons(dialog, height, width, button); in dialog_checklist()