Lines Matching defs:dialog
27 #include <dialog.h>
31 * Display a dialog box with two buttons - Yes and No.
50 WINDOW *dialog = 0;
74 if (dialog != 0)
75 dlg_move_window(dialog, height, width, y, x);
79 dialog = dlg_new_window(height, width, y, x);
80 dlg_register_window(dialog, "yesno", binding);
81 dlg_register_buttons(dialog, "yesno", buttons);
84 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr);
85 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr);
86 dlg_draw_title(dialog, title);
87 dlg_draw_helpline(dialog, FALSE);
89 (void) wattrset(dialog, dialog_attr);
92 dlg_draw_buttons(dialog,
98 last = dlg_print_scrolled(dialog, prompt, offset,
100 dlg_trace_win(dialog);
103 key = dlg_mouse_wgetch(dialog, &fkey);
117 dlg_draw_buttons(dialog,
126 dlg_draw_buttons(dialog,
157 dlg_del_window(dialog);