Lines Matching defs:dialog
23 #include <dialog.h>
307 * Display a dialog box for editing a copy of a file
351 WINDOW *dialog;
382 dialog = dlg_new_window(height, width, y, x);
383 dlg_register_window(dialog, "editbox", binding);
384 dlg_register_buttons(dialog, "editbox", buttons);
388 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr);
389 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr);
390 dlg_draw_title(dialog, title);
392 (void) wattrset(dialog, dialog_attr);
400 dlg_draw_box(dialog,
411 editing = dlg_sub_window(dialog,
414 getbegy(dialog) + box_y + 1,
415 getbegx(dialog) + box_x + 1);
442 dlg_draw_scrollbar(dialog,
470 dlg_draw_buttons(dialog,
485 dlg_trace_win(dialog);
488 key = dlg_mouse_wgetch((state == sTEXT) ? editing : dialog, &fkey);
530 key = dlg_lookup_key(dialog, key, &fkey);
632 dlg_del_window(dialog);
679 dlg_del_window(dialog);
699 dlg_del_window(dialog);