Lines Matching defs:dialog
32 #include <dialog.h>
65 WINDOW *dialog, *partitions;
116 dialog = dlg_new_window(height, width, y, x);
117 dlg_register_window(dialog, "diskeditorbox", binding);
118 dlg_register_buttons(dialog, "diskeditorbox", buttons);
120 dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
121 dlg_draw_bottom_box(dialog);
122 dlg_draw_title(dialog, title);
123 wattrset(dialog, dialog_attr);
126 partitions = dlg_sub_window(dialog, partlist_height, partlist_width,
133 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
135 dlg_print_autowrap(dialog, prompt, height, width);
146 dlg_draw_box(dialog, 3, 1, partlist_height, partlist_width,
159 key = dlg_mouse_wgetch(dialog, &fkey);
163 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
177 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
185 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
254 dlg_draw_buttons(dialog, height - 2*MARGIN, 0,
269 dlg_del_window(dialog);