Home
last modified time | relevance | path

Searched refs:dlg_color_table (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/dialog/
H A Drc.c226 if (dlg_strcmp(dlg_color_table[i].name, name) == 0) { in find_color()
281 *result = dlg_color_table[ret]; in str_to_attr()
485 fprintf(rc_file, "\n# %s\n", dlg_color_table[i].comment); in dlg_create_rc()
487 if (dlg_color_table[i].fg == dlg_color_table[j].fg in dlg_create_rc()
488 && dlg_color_table[i].bg == dlg_color_table[j].bg in dlg_create_rc()
489 && dlg_color_table[i].hilite == dlg_color_table[j].hilite) { in dlg_create_rc()
491 dlg_color_table[i].name, in dlg_create_rc()
492 dlg_color_table[j].name); in dlg_create_rc()
499 fprintf(rc_file, "%s = %c", dlg_color_table[i].name, L_PAREN); in dlg_create_rc()
500 fprintf(rc_file, "%s", to_color_name(dlg_color_table[i].fg)); in dlg_create_rc()
[all …]
H A Dutil.c124 DIALOG_COLORS dlg_color_table[] = variable
517 for (i = 0; i < sizeof(dlg_color_table) / in dlg_color_setup()
518 sizeof(dlg_color_table[0]); i++) { in dlg_color_setup()
522 dlg_color_table[i].fg, in dlg_color_setup()
523 dlg_color_table[i].bg); in dlg_color_setup()
526 dlg_color_table[i].atr = C_ATTR(dlg_color_table[i].hilite, i + 1); in dlg_color_setup()
530 for (i = 0; i < sizeof(dlg_color_table) / in dlg_color_setup()
531 sizeof(dlg_color_table[0]); i++) { in dlg_color_setup()
534 chtype atr = dlg_color_pair(dlg_color_table[i].fg, in dlg_color_setup()
535 dlg_color_table[i].bg); in dlg_color_setup()
[all …]
H A Ddialog.h324 #define color_table dlg_color_table
365 #define DIALOG_ATR(n) dlg_color_table[n].atr
645 extern DIALOG_COLORS dlg_color_table[];
/freebsd/lib/libdpv/
H A Dstatus.c51 chtype color = dlg_color_pair(dlg_color_table[BUTTON_ACTIVE_ATTR].fg, in status_printf()
52 dlg_color_table[SCREEN_ATTR].bg) | A_BOLD; in status_printf()
H A Ddpv.c337 gauge_color[0] = 48 + dlg_color_table[GAUGE_ATTR].fg; in dpv()
338 gauge_color[1] = 48 + dlg_color_table[GAUGE_ATTR].bg; in dpv()
339 gauge_color[2] = dlg_color_table[GAUGE_ATTR].hilite ? in dpv()
/freebsd/contrib/dialog/package/
H A Ddialog.sym95 dlg_color_table
H A Ddialog.map69 dlg_color_table;