Lines Matching defs:dialog
4 * rangebox.c -- implements the rangebox dialog
24 #include <dialog.h>
215 WINDOW *dialog;
246 dialog = dlg_new_window(height, width,
250 data.window = dialog;
268 * The slider is scaled, to try to use the width of the dialog.
285 dlg_register_window(dialog, "rangebox", binding);
286 dlg_register_buttons(dialog, "rangebox", buttons);
288 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr);
291 dlg_draw_box2(dialog,
297 dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr);
298 dlg_draw_title(dialog, title);
299 dlg_draw_helpline(dialog, FALSE);
301 (void) wattrset(dialog, dialog_attr);
302 dlg_print_autowrap(dialog, prompt, height, width);
304 dlg_trace_win(dialog);
308 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width);
311 wmove(dialog, data.slide_y, data.value_x + data.value_col);
314 key = dlg_mouse_wgetch(dialog, &fkey);
382 dlg_del_window(dialog);
414 dlg_del_window(dialog);