]> icculus.org git repositories - taylor/freespace2.git/blob - include/alphacolors.h
fix issue with looping audio streams
[taylor/freespace2.git] / include / alphacolors.h
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
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
6  * the source.
7  */
8
9 #ifndef _GLOBAL_ALPHACOLORS_HEADER_FILE
10 #define _GLOBAL_ALPHACOLORS_HEADER_FILE
11
12 // -----------------------------------------------------------------------------------
13 // ALPHA DEFINES/VARS
14 //
15
16 // Colors for UI
17 // See Freespace.cpp for usage
18
19 // The following colors are for text drawing:
20 // normal text
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
36
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;
42
43 extern color Color_ui_light_green, Color_ui_green;
44 extern color Color_ui_light_pink, Color_ui_pink;
45
46 // netplayer colors
47 extern color *Color_netplayer[12];
48
49 // -----------------------------------------------------------------------------------
50 // ALPHA FUNCTIONS
51 //
52
53 // initialize all alpha colors (call at startup)
54 void alpha_colors_init();
55
56
57 #endif
58