Lines Matching defs:dialog
4 * treeview.c -- implements the treeview dialog
24 #include <dialog.h>
32 WINDOW *dialog;
109 getyx(data->dialog, cur_y, cur_x);
120 dlg_draw_scrollbar(data->dialog,
132 (void) wmove(data->dialog, cur_y, cur_x);
208 WINDOW *dialog, *list;
269 dialog = dlg_new_window(height, width, y, x);
270 dlg_register_window(dialog, widget_name, binding);
271 dlg_register_buttons(dialog, widget_name, buttons);
275 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr);
276 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr);
277 dlg_draw_title(dialog, title);
279 (void) wattrset(dialog, dialog_attr);
280 dlg_print_autowrap(dialog, prompt, height, width);
283 cur_y = getcury(dialog);
299 list = dlg_sub_window(dialog, use_height, all.use_width,
303 dlg_draw_box(dialog, box_y, box_x,
347 all.dialog = dialog;
354 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
356 dlg_trace_win(dialog);
359 wmove(dialog, box_y + choice + 1, box_x + all.check_x + 2);
361 key = dlg_mouse_wgetch(dialog, &fkey);
382 key = dlg_lookup_key(dialog, key, &fkey);
522 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
527 dlg_draw_buttons(dialog, height - 2, 0, buttons, button,
537 dlg_del_window(dialog);
556 dlg_del_window(dialog);