Lines Matching defs:dialog
27 #include <dialog.h>
509 WINDOW *dialog, *form;
547 dialog = dlg_new_window(height, width, y, x);
548 dlg_register_window(dialog, "formbox", binding);
549 dlg_register_buttons(dialog, "formbox", buttons);
553 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr);
554 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr);
555 dlg_draw_title(dialog, title);
557 (void) wattrset(dialog, dialog_attr);
558 dlg_print_autowrap(dialog, prompt, height, width);
561 getyx(dialog, cur_y, cur_x);
567 form = dlg_sub_window(dialog, form_height, form_width, y + box_y + 1,
572 dlg_draw_box(dialog, box_y, box_x, form_height + 2, form_width + 2,
576 dlg_mouse_mkbigregion(getbegy(form) - getbegy(dialog),
577 getbegx(form) - getbegx(dialog),
595 dlg_draw_scrollbar(dialog,
611 dlg_draw_buttons(dialog, height - 2, 0, buttons,
621 dlg_trace_win(dialog);
641 key = dlg_mouse_wgetch((state == sTEXT) ? form : dialog, &fkey);
650 dlg_del_window(dialog);
681 dlg_del_window(dialog);
767 dlg_del_window(dialog);
864 dlg_del_window(dialog);