Lines Matching defs:dialog
34 #include <dialog.h>
67 WINDOW *dialog, *partitions;
134 dialog = dlg_new_window(height, width, y, x);
135 dlg_register_window(dialog, "diskeditorbox", binding);
136 dlg_register_buttons(dialog, "diskeditorbox", buttons);
138 dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
139 dlg_draw_bottom_box(dialog);
140 dlg_draw_title(dialog, title);
141 wattrset(dialog, dialog_attr);
144 partitions = dlg_sub_window(dialog, partlist_height, partlist_width,
151 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
153 dlg_print_autowrap(dialog, prompt, height, width);
164 dlg_draw_box(dialog, 3, 1, partlist_height, partlist_width,
177 key = dlg_mouse_wgetch(dialog, &fkey);
181 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
195 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
203 dlg_draw_buttons(dialog, height - 2*MARGIN, 0, buttons,
272 dlg_draw_buttons(dialog, height - 2*MARGIN, 0,
287 dlg_del_window(dialog);