Lines Matching defs:dialog
27 #include <dialog.h>
281 * Display text from a file in a dialog box, like in a "tail -f".
308 WINDOW *dialog, *text;
329 dialog = dlg_new_window(height, width, y, x);
334 text = dlg_sub_window(dialog,
340 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr);
341 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr);
342 dlg_draw_title(dialog, title);
343 dlg_draw_helpline(dialog, FALSE);
348 dlg_draw_buttons(dialog, height - (2 * MARGIN), 0, buttons, FALSE,
352 (void) wmove(dialog, thigh, (MARGIN + 1));
353 (void) wnoutrefresh(dialog);
359 obj->obj.win = dialog;
368 dlg_register_window(dialog, "tailbox", binding);
369 dlg_register_buttons(dialog, "tailbox", buttons);
375 dlg_trace_win(dialog);
381 ch = dlg_getc(dialog, &fkey);
389 dlg_del_window(dialog);