Freeciv21
Develop your civilization from humble roots to a global empire
colors_g.h
Go to the documentation of this file.
1 /**************************************************************************
2  Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3  __ __ part of Freeciv21. Freeciv21 is free software: you can
4 / \\..// \ redistribute it and/or modify it under the terms of the GNU
5  ( oo ) General Public License as published by the Free Software
6  \__/ Foundation, either version 3 of the License, or (at your
7  option) any later version. You should have received
8  a copy of the GNU General Public License along with Freeciv21. If not,
9  see https://www.gnu.org/licenses/.
10 **************************************************************************/
11 #pragma once
12 
13 #include "colors_common.h"
14 
15 int color_brightness_score(const QColor &color);
16 QColor get_diag_color(color_std color);
QColor get_diag_color(color_std color)
Gets a diagram color.
Definition: themes.cpp:255
int color_brightness_score(const QColor &color)
Return a number indicating the perceptual brightness of this color relative to others (larger is brig...