Lines Matching defs:dialog
27 #include <dialog.h>
58 WINDOW *dialog = 0;
85 if (dialog != 0)
86 dlg_move_window(dialog, height, width, y, x);
90 dialog = dlg_new_window(height, width, y, x);
91 dlg_register_window(dialog, "msgbox", binding);
92 dlg_register_buttons(dialog, "msgbox", buttons);
98 dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
99 dlg_draw_title(dialog, title);
101 wattrset(dialog, dialog_attr);
104 dlg_draw_bottom_box(dialog);
106 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
107 dlg_draw_helpline(dialog, FALSE);
111 last = dlg_print_scrolled(dialog, prompt, offset,
115 key = dlg_mouse_wgetch(dialog, &fkey);
138 dlg_draw_buttons(dialog,
147 dlg_draw_buttons(dialog,
176 dlg_print_scrolled(dialog, prompt, offset, page, width, pauseopt);
177 dlg_draw_helpline(dialog, FALSE);
178 wrefresh(dialog);
182 dlg_del_window(dialog);