Lines Matching defs:dialog

29 #include <dialog.h>
36 WINDOW *dialog;
106 getyx(data->dialog, cur_y, cur_x);
116 dlg_draw_scrollbar(data->dialog,
128 (void) wmove(data->dialog, cur_y, cur_x);
203 WINDOW *dialog;
267 dialog = dlg_new_window(height, width, y, x);
268 all.dialog = dialog;
269 dlg_register_window(dialog, widget_name, binding);
270 dlg_register_buttons(dialog, widget_name, buttons);
274 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr);
275 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr);
276 dlg_draw_title(dialog, title);
278 (void) wattrset(dialog, dialog_attr);
279 dlg_print_autowrap(dialog, prompt, height, width);
282 getyx(dialog, cur_y, cur_x);
299 all.list = dlg_sub_window(dialog, all.use_height, all.use_width,
303 dlg_draw_box(dialog, all.box_y, all.box_x,
362 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
364 dlg_trace_win(dialog);
367 wmove(dialog, all.box_y + choice + 1, all.box_x + all.check_x + 2);
369 key = dlg_mouse_wgetch(dialog, &fkey);
378 getyx(dialog, cur_y, cur_x);
391 key = dlg_lookup_key(dialog, key, &fkey);
407 getyx(dialog, cur_y, cur_x);
414 (void) wmove(dialog, cur_y, cur_x);
422 getyx(dialog, cur_y, cur_x);
429 (void) wmove(dialog, cur_y, cur_x);
523 getyx(dialog, cur_y, cur_x);
548 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
553 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
563 dlg_del_window(dialog);
582 dlg_del_window(dialog);
590 * Display a dialog box with a list of options that can be turned on or off