The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
standard_colors.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008 - 2017 by Mark de Wever <koraq@xs4all.nl>
3  * Part of the Battle for Wesnoth Project http://www.wesnoth.org/
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  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY.
11  *
12  * See the COPYING file for more details.
13  */
14 
15 #include "font/standard_colors.hpp"
16 
17 namespace font {
18 
19 const color_t
20  NORMAL_COLOR {221, 221, 221},
21  GRAY_COLOR {119, 119, 119},
22  LOBBY_COLOR {187, 187, 187},
23  GOOD_COLOR {0 , 255, 0 },
24  BAD_COLOR {255, 0 , 0 },
25  BLACK_COLOR {0 , 0 , 0 },
26  YELLOW_COLOR {255, 255, 0 },
27  BUTTON_COLOR {186, 172, 125},
28  PETRIFIED_COLOR {160, 160, 160},
29  TITLE_COLOR {186, 172, 125},
30  LABEL_COLOR {107, 140, 255},
31  BIGMAP_COLOR {255, 255, 255};
32 
34 
35 const color_t
36  weapon_color {245, 230, 193},
37  good_dmg_color {130, 240, 50 },
38  bad_dmg_color {250, 140, 80 },
39  weapon_details_color {166, 146, 117},
40  inactive_details_color {146, 146, 146},
41  inactive_ability_color {146, 146, 146},
42  unit_type_color {245, 230, 193},
43  race_color {166, 146, 117};
44 }
const color_t BUTTON_COLOR
color_t inverse() const
Definition: color.hpp:226
const color_t inactive_details_color
const color_t GRAY_COLOR
Note: Specific to sdl_ttf.
const color_t GOOD_COLOR
const color_t TITLE_COLOR
const color_t LOBBY_COLOR
const color_t good_dmg_color
const color_t LABEL_COLOR
const color_t unit_type_color
const color_t weapon_color
const color_t bad_dmg_color
const color_t BIGMAP_COLOR
const color_t race_color
const color_t PETRIFIED_COLOR
const color_t YELLOW_COLOR
const color_t NORMAL_COLOR
const color_t weapon_details_color
const color_t BLACK_COLOR
const color_t DISABLED_COLOR
const color_t BAD_COLOR
const color_t inactive_ability_color