Lines Matching defs:dialog
32 #include <dialog.h>
65 WINDOW *dialog, *partitions;
132 dialog = dlg_new_window(height, width, y, x);
133 dlg_register_window(dialog, "diskeditorbox", binding);
134 dlg_register_buttons(dialog, "diskeditorbox", buttons);
136 dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
137 dlg_draw_bottom_box(dialog);
138 dlg_draw_title(dialog, title);
139 wattrset(dialog, dialog_attr);
142 partitions = dlg_sub_window(dialog, partlist_height, partlist_width,
149 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
151 dlg_print_autowrap(dialog, prompt, height, width);
162 dlg_draw_box(dialog, 3, 1, partlist_height, partlist_width,
175 key = dlg_mouse_wgetch(dialog, &fkey);
179 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
193 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
201 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
270 dlg_draw_buttons(dialog, height - 2*MARGIN, 0,
285 dlg_del_window(dialog);