The Battle for Wesnoth  1.19.11+dev
Namespaces | Functions | Variables
standard_colors.cpp File Reference
#include "font/standard_colors.hpp"
#include "color.hpp"
#include "gui/core/log.hpp"
#include <algorithm>
#include <pango/pango-color.h>
Include dependency graph for standard_colors.cpp:

Go to the source code of this file.

Namespaces

 font
 Graphical text output.
 

Functions

color_t font::string_to_color (const std::string &color_str)
 Return the color the string represents. More...
 

Variables

const color_t font::NORMAL_COLOR {221, 221, 221}
 
const color_t font::GRAY_COLOR {136, 136, 136}
 
const color_t font::GOOD_COLOR {0 , 181, 26 }
 
const color_t font::BAD_COLOR {255, 0 , 0 }
 
const color_t font::YELLOW_COLOR {255, 255, 0 }
 
const color_t font::TITLE_COLOR {186, 172, 125}
 
const color_t font::LABEL_COLOR {107, 140, 255}
 
const color_t font::INACTIVE_COLOR {150, 150, 150}
 
const color_t font::weapon_color {245, 230, 193}
 
const color_t font::good_dmg_color {130, 240, 50 }
 
const color_t font::bad_dmg_color {250, 140, 80 }
 
const color_t font::weapon_details_color {196, 176, 147}
 
const color_t font::unit_type_color {245, 230, 193}