Lines Matching defs:dialog
26 #include <dialog.h>
112 pause_for_ok(WINDOW *dialog, int height, int width)
134 dlg_register_window(dialog, "progressbox", binding);
135 dlg_register_buttons(dialog, "progressbox", buttons);
137 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr);
145 dlg_draw_buttons(dialog,
151 key = dlg_mouse_wgetch(dialog, &fkey);
188 dlg_unregister_window(dialog);
204 WINDOW *dialog, *text;
218 dialog = dlg_new_window(height, width, y, x);
220 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr);
221 dlg_draw_title(dialog, title);
222 dlg_draw_helpline(dialog, FALSE);
227 (void) wattrset(dialog, dialog_attr);
228 dlg_print_autowrap(dialog, prompt, height, width);
229 getyx(dialog, y2, x2);
232 wmove(dialog, y2, MARGIN);
233 for (i = 0; i < getmaxx(dialog) - 2 * MARGIN; i++)
234 (void) waddch(dialog, dlg_boxchar(ACS_HLINE));
240 text = dlg_sub_window(dialog,
246 (void) wrefresh(dialog);
248 (void) wmove(dialog, thigh, (MARGIN + 1));
249 (void) wnoutrefresh(dialog);
255 obj->obj.win = dialog;
269 dlg_trace_win(dialog);
278 result = pause_for_ok(dialog, height, width);
280 wrefresh(dialog);
284 dlg_del_window(dialog);