Lines Matching defs:dialog
4 * mixedgauge.c -- implements the mixedgauge dialog
27 #include <dialog.h>
38 WINDOW *dialog;
109 WINDOW *win = dlg->dialog;
210 * Update mixed-gauge dialog (may be from pipe, may be via direct calls).
222 (void) wmove(dlg->dialog, dlg->height - 3, 4);
223 (void) wattrset(dlg->dialog, gauge_attr);
226 (void) waddch(dlg->dialog, ' ');
228 (void) wmove(dlg->dialog, dlg->height - 3, (dlg->width / 2) - 2);
229 (void) wprintw(dlg->dialog, "%3d%%", percent);
238 wattroff(dlg->dialog, A_REVERSE);
240 (void) wattrset(dlg->dialog, A_REVERSE);
242 (void) wmove(dlg->dialog, dlg->height - 3, 4);
244 chtype ch = winch(dlg->dialog);
248 (void) waddch(dlg->dialog, ch);
251 dlg_trace_win(dlg->dialog);
255 * Setup dialog.
304 dlg_del_window(dlg->dialog);
318 /* center dialog box on screen */
322 dlg->dialog = dlg_new_window(dlg->height, dlg->width, y, x);
324 (void) werase(dlg->dialog);
325 dlg_draw_box2(dlg->dialog,
331 dlg_draw_title(dlg->dialog, dlg->title);
332 dlg_draw_helpline(dlg->dialog, FALSE);
335 && wmove(dlg->dialog, dlg->item_no, 0) != ERR) {
336 dlg->caption = dlg_sub_window(dlg->dialog,
345 mydraw_mixed_box(dlg->dialog,
357 * Discard the mixed-gauge dialog.
362 (void) wrefresh(dlg->dialog);
367 dlg_del_window(dlg->dialog);
372 * Setup dialog, read mixed-gauge data from pipe.