Lines Matching full:dialog
11 #include "dialog.h"
38 #define DLG_COLOR(dialog, f, b, h) \ argument
40 dlg.dialog.fg = (f); \
41 dlg.dialog.bg = (b); \
42 dlg.dialog.hl = (h); \
49 DLG_COLOR(dialog, COLOR_BLACK, COLOR_WHITE, false); in set_classic_theme()
78 DLG_COLOR(dialog, COLOR_WHITE, COLOR_BLACK, false); in set_blackbg_theme()
159 init_one_color(&dlg.dialog); in init_dialog_colors()
273 * Do some initialization for dialog
312 * End using dialog functions.
322 /* Print the title of the dialog. Center the title and truncate
323 * tile if wider than dialog (- 2 chars).
325 void print_title(WINDOW *dialog, const char *title, int width) in print_title() argument
329 wattrset(dialog, dlg.title.atr); in print_title()
330 mvwaddch(dialog, 0, (width - tlen) / 2 - 1, ' '); in print_title()
331 mvwaddnstr(dialog, 0, (width - tlen)/2, title, tlen); in print_title()
332 waddch(dialog, ' '); in print_title()