1 /******************************************************************************
2  *  Warmux is a convivial mass murder game.
3  *  Copyright (C) 2001-2011 Warmux Team.
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
18  ******************************************************************************
19  * Colors.
20  ******************************************************************************/
21 
22 #ifndef COLORS_H
23 #define COLORS_H
24 
25 #include "color.h"
26 
27 const Color transparent_color(255, SDL_ALPHA_TRANSPARENT);
28 
29 // Greyscale
30 const Color white_color(255, SDL_ALPHA_OPAQUE);
31 const Color light_gray_color(169, SDL_ALPHA_OPAQUE);
32 const Color gray_color(128, SDL_ALPHA_OPAQUE);
33 const Color dark_gray_color(64, SDL_ALPHA_OPAQUE);
34 const Color dark_red_color(170, SDL_ALPHA_OPAQUE);
35 const Color black_color(0, SDL_ALPHA_OPAQUE);
36 
37 const Color primary_red_color(255, 0, 0, SDL_ALPHA_OPAQUE);
38 const Color primary_green_color(0, 255, 0, SDL_ALPHA_OPAQUE);
39 const Color primary_blue_color(0, 0, 255, SDL_ALPHA_OPAQUE);
40 const Color green_color(68, 120, 51, SDL_ALPHA_OPAQUE);
41 const Color pink_color(0xFF, 0xFF, 0x00, SDL_ALPHA_OPAQUE);
42 const Color yellow_color(0xFF, 0xFF, 0x00, SDL_ALPHA_OPAQUE);
43 const Color orange_color(0xFF, 0xC0, 0x00, SDL_ALPHA_OPAQUE);
44 
45 const Color c_white  (0xFF, 0x70);
46 const Color c_black  (0x00, 0x70);
47 const Color c_grey   (0xF0, 0x70);
48 const Color c_red    (0xFF, 0x00, 0x00, 0x70);
49 const Color c_yellow (0xFF, 0xFF, 0x00, 0x70);
50 
51 // Default colors:
52 const Color defaultColorBox(80, 80, 159, 206);
53 const Color defaultColorRect(49, 32, 122, 255);
54 
55 const Color defaultOptionColorBox(255, 160);
56 const Color defaultOptionColorRect(59, 88, 129, SDL_ALPHA_OPAQUE);
57 
58 const Color highlightOptionColorBox(200, 100, 100, 206);
59 
60 const Color defaultListColor1(75, 163, 200, (255*3)/10);
61 const Color defaultListColor2(0, 0, (255*6)/10, (255*6)/10);
62 const Color defaultListColor3(0, 0, (255*6)/10, (255*3)/10);
63 
64 #endif /* COLORS_H */
65