Lines Matching defs:dialog
4 * buildlist.c -- implements the buildlist dialog
24 #include <dialog.h>
342 WINDOW *dialog = wgetparent(data->list[0].win);
344 getyx(dialog, cur_y, cur_x);
355 dlg_draw_scrollbar(dialog,
367 (void) wmove(dialog, cur_y, cur_x);
468 WINDOW *dialog;
529 dialog = dlg_new_window(height, width, y, x);
530 dlg_register_window(dialog, widget_name, binding);
531 dlg_register_buttons(dialog, widget_name, buttons);
535 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr);
536 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr);
537 dlg_draw_title(dialog, title);
539 (void) wattrset(dialog, dialog_attr);
540 dlg_print_autowrap(dialog, prompt, height, width);
543 getyx(dialog, cur_y, cur_x);
560 data[k].win = dlg_sub_window(dialog, all.use_height, list_width,
565 dlg_draw_box(dialog, data[k].box_y, data[k].box_x,
636 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
653 dlg_trace_win(dialog);
667 wmove(dialog, cur_y, cur_x);
670 key = dlg_mouse_wgetch(dialog, &fkey);
718 key = dlg_lookup_key(dialog, key, &fkey);
747 dlg_trace_win(dialog);
804 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
819 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
968 dlg_trace_win(dialog);
984 dlg_del_window(dialog);
1004 dlg_del_window(dialog);
1012 * Display a dialog box with a list of options that can be turned on or off