mirror of
https://github.com/openharmony/third_party_alsa-utils.git
synced 2026-07-01 09:15:56 -04:00
4e80219ea0
Signed-off-by: xuxuehai <xuxuehai2@huawei.com>
43 lines
728 B
C
43 lines
728 B
C
#ifndef COLORS_H_INCLUDED
|
|
#define COLORS_H_INCLUDED
|
|
|
|
#define TRICOLOR_VOLUME_BAR
|
|
|
|
struct attributes {
|
|
// Alphabetically sorted
|
|
#ifdef TRICOLOR_VOLUME_BAR
|
|
int ctl_bar_hi;
|
|
#endif
|
|
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;
|
|
|
|
void init_colors(int use_color);
|
|
void reinit_colors(short bg);
|
|
int get_color_pair(short fg, short bg);
|
|
|
|
#endif
|