1 #ifndef _GLOBAL_ALPHACOLORS_HEADER_FILE
2 #define _GLOBAL_ALPHACOLORS_HEADER_FILE
4 // -----------------------------------------------------------------------------------
9 // See Freespace.cpp for usage
11 // The following colors are for text drawing:
13 #define Color_text_normal Color_white
14 // text highlighted while down still down on a line
15 #define Color_text_subselected Color_blue
16 // text highlighted as the selected line
17 #define Color_text_selected Color_bright_blue
18 // text that indicates an error
19 #define Color_text_error Color_red
20 // text that indicates an error, and line is selected or subselected
21 #define Color_text_error_hi Color_bright_red
22 // text that indicates line is active item
23 #define Color_text_active Color_bright_white
24 // text that indicates line is active item, and line is selected or subselected
25 #define Color_text_active_hi Color_bright_white
26 // text drawn as a heading for a section or title, etc
27 #define Color_text_heading Color_violet_gray
29 #define Color_bright Color_bright_blue
30 #define Color_normal Color_white
31 extern color Color_black, Color_grey, Color_blue, Color_bright_blue, Color_violet_gray;
32 extern color Color_green, Color_bright_green, Color_bright_white, Color_white;
33 extern color Color_red, Color_bright_red, Color_yellow, Color_bright_yellow, Color_dim_red;
35 extern color Color_ui_light_green, Color_ui_green;
36 extern color Color_ui_light_pink, Color_ui_pink;
39 extern color *Color_netplayer[12];
41 // -----------------------------------------------------------------------------------
45 // initialize all alpha colors (call at startup)
46 void alpha_colors_init();