2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
9 #ifndef _GLOBAL_ALPHACOLORS_HEADER_FILE
10 #define _GLOBAL_ALPHACOLORS_HEADER_FILE
12 // -----------------------------------------------------------------------------------
17 // See Freespace.cpp for usage
19 // The following colors are for text drawing:
21 #define Color_text_normal Color_white
22 // text highlighted while down still down on a line
23 #define Color_text_subselected Color_blue
24 // text highlighted as the selected line
25 #define Color_text_selected Color_bright_blue
26 // text that indicates an error
27 #define Color_text_error Color_red
28 // text that indicates an error, and line is selected or subselected
29 #define Color_text_error_hi Color_bright_red
30 // text that indicates line is active item
31 #define Color_text_active Color_bright_white
32 // text that indicates line is active item, and line is selected or subselected
33 #define Color_text_active_hi Color_bright_white
34 // text drawn as a heading for a section or title, etc
35 #define Color_text_heading Color_violet_gray
37 #define Color_bright Color_bright_blue
38 #define Color_normal Color_white
39 extern color Color_black, Color_grey, Color_blue, Color_bright_blue, Color_violet_gray;
40 extern color Color_green, Color_bright_green, Color_bright_white, Color_white;
41 extern color Color_red, Color_bright_red, Color_yellow, Color_bright_yellow, Color_dim_red;
43 extern color Color_ui_light_green, Color_ui_green;
44 extern color Color_ui_light_pink, Color_ui_pink;
47 extern color *Color_netplayer[12];
49 // -----------------------------------------------------------------------------------
53 // initialize all alpha colors (call at startup)
54 void alpha_colors_init();