src/graphic/colors.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  *  Wormux is a convivial mass murder game.
00003  *  Copyright (C) 2001-2004 Lawrence Azzoug.
00004  *
00005  *  This program is free software; you can redistribute it and/or modify
00006  *  it under the terms of the GNU General Public License as published by
00007  *  the Free Software Foundation; either version 2 of the License, or
00008  *  (at your option) any later version.
00009  *
00010  *  This program is distributed in the hope that it will be useful,
00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *  GNU General Public License for more details.
00014  *
00015  *  You should have received a copy of the GNU General Public License
00016  *  along with this program; if not, write to the Free Software
00017  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
00018  ******************************************************************************
00019  * Colors.
00020  ******************************************************************************/
00021 
00022 #ifndef COLORS_H
00023 #define COLORS_H
00024 
00025 #include <SDL_video.h>
00026 #include "color.h"
00027 
00028 // Greyscale
00029 const Color white_color (255, 255, 255, SDL_ALPHA_OPAQUE);
00030 const Color lightgray_color (169, 169, 169, SDL_ALPHA_OPAQUE);
00031 const Color gray_color (128, 128, 128, SDL_ALPHA_OPAQUE);
00032 const Color dark_gray_color (64, 64, 64, SDL_ALPHA_OPAQUE);
00033 const Color black_color (0, 0, 0, SDL_ALPHA_OPAQUE);
00034 
00035 const Color c_white  (0xFF, 0xFF, 0xFF, 0x70);
00036 const Color c_black  (0x00, 0x00, 0x00, 0x70);
00037 const Color c_red    (0xFF, 0x00, 0x00, 0x70);
00038 const Color c_yellow (0x00, 0xFF, 0xFF, 0x70);
00039 const Color c_grey   (0xF0, 0xF0, 0xF0, 0x70);
00040                            
00041 
00042 // Green
00043 const Color green_color (68, 120, 51, SDL_ALPHA_OPAQUE);
00044 
00045 const Color primary_red_color(255, 0, 0, SDL_ALPHA_OPAQUE);
00046 
00047 // Default colors:
00048 const Color defaultColorBox(80, 80, 159, 206);
00049 const Color defaultColorRect(49, 32, 122, 255);
00050 
00051 const Color defaultOptionColorBox(255,255,255,160);
00052 //const Color defaultOptionColorBox(34, 133, 175, 206);
00053 const Color highlightOptionColorBox(200, 100, 100, 206);
00054 //const Color defaultOptionColorBox(34, 133, 175, 206);
00055 
00056 const Color defaultDisabledColorBox(0,0,0,127);
00057 const Color defaultOptionColorRect(59,88,129,206);
00058 
00059 //const Color defaultListColor1(255, 255, 255, 255*3/10);
00060 const Color defaultListColor1(75, 163, 200, 255*3/10);
00061 const Color defaultListColor2(0, 0, 255*6/10, 255*8/10);
00062 const Color defaultListColor3(0, 0, 255*6/10, 255*4/10);
00063 
00064 #endif /* COLORS_H */

Generated on Mon Jan 1 13:10:56 2007 for Wormux by  doxygen 1.4.7