Lines Matching defs:dialog
27 #include <dialog.h>
41 * Display a dialog box for entering a string
78 WINDOW *dialog;
115 dialog = dlg_new_window(height, width, yorg, xorg);
116 dlg_register_window(dialog, "inputbox", binding);
117 dlg_register_buttons(dialog, "inputbox", buttons);
121 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr);
122 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr);
123 dlg_draw_title(dialog, title);
125 (void) wattrset(dialog, dialog_attr);
126 dlg_draw_helpline(dialog, FALSE);
127 dlg_print_autowrap(dialog, prompt, height, width);
131 getyx(dialog, y, x);
136 dlg_draw_box(dialog, y + 1, box_x - 1, 3, box_width + 2,
140 editor = dlg_sub_window(dialog, 1, box_width, yorg + box_y, xorg + box_x);
158 (void) wmove(dialog, box_y, box_x + col_offset);
159 dlg_draw_buttons(dialog, height - 2, 0, buttons, state, FALSE, width);
170 key = dlg_mouse_wgetch((state == sTEXT) ? editor : dialog, &fkey);
205 dlg_del_window(dialog);
226 dlg_del_window(dialog);
236 dlg_del_window(dialog);
251 dlg_del_window(dialog);