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