1#ifndef COLORS_H_INCLUDED 2#define COLORS_H_INCLUDED 3 4#define TRICOLOR_VOLUME_BAR 5 6struct attributes { 7 // Alphabetically sorted 8#ifdef TRICOLOR_VOLUME_BAR 9 int ctl_bar_hi; 10#endif 11 int ctl_bar_lo; 12#ifdef TRICOLOR_VOLUME_BAR 13 int ctl_bar_mi; 14#endif 15 int ctl_capture; 16 int ctl_frame; 17 int ctl_inactive; 18 int ctl_label; 19 int ctl_label_focus; 20 int ctl_label_inactive; 21 int ctl_mark_focus; 22 int ctl_mute; 23 int ctl_nocapture; 24 int ctl_nomute; 25 int errormsg; 26 int infomsg; 27 int menu; 28 int menu_selected; 29 int mixer_active; 30 int mixer_frame; 31 int mixer_text; 32 int textbox; 33 int textfield; 34}; 35 36extern struct attributes attrs; 37 38void init_colors(int use_color); 39void reinit_colors(short bg); 40int get_color_pair(short fg, short bg); 41 42#endif 43