2009-05-25 10:26:22 +02:00
|
|
|
#ifndef COLORS_H_INCLUDED
|
|
|
|
#define COLORS_H_INCLUDED
|
|
|
|
|
2009-06-18 14:42:28 +02:00
|
|
|
#define TRICOLOR_VOLUME_BAR
|
|
|
|
|
2019-10-03 17:36:52 +02:00
|
|
|
struct attributes {
|
|
|
|
// Alphabetically sorted
|
2009-06-18 14:42:28 +02:00
|
|
|
#ifdef TRICOLOR_VOLUME_BAR
|
2019-10-03 17:36:52 +02:00
|
|
|
int ctl_bar_hi;
|
2009-06-18 14:42:28 +02:00
|
|
|
#endif
|
2019-10-03 17:36:52 +02:00
|
|
|
int ctl_bar_lo;
|
|
|
|
#ifdef TRICOLOR_VOLUME_BAR
|
|
|
|
int ctl_bar_mi;
|
|
|
|
#endif
|
|
|
|
int ctl_capture;
|
|
|
|
int ctl_frame;
|
|
|
|
int ctl_inactive;
|
|
|
|
int ctl_label;
|
|
|
|
int ctl_label_focus;
|
|
|
|
int ctl_label_inactive;
|
|
|
|
int ctl_mark_focus;
|
|
|
|
int ctl_mute;
|
|
|
|
int ctl_nocapture;
|
|
|
|
int ctl_nomute;
|
|
|
|
int errormsg;
|
|
|
|
int infomsg;
|
|
|
|
int menu;
|
|
|
|
int menu_selected;
|
|
|
|
int mixer_active;
|
|
|
|
int mixer_frame;
|
|
|
|
int mixer_text;
|
|
|
|
int textbox;
|
|
|
|
int textfield;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern struct attributes attrs;
|
2009-05-25 10:26:22 +02:00
|
|
|
|
|
|
|
void init_colors(int use_color);
|
2019-10-03 17:36:52 +02:00
|
|
|
int get_color_pair(short fg, short bg);
|
2009-05-25 10:26:22 +02:00
|
|
|
|
|
|
|
#endif
|