Freeciv-3.2
Loading...
Searching...
No Matches
colors_g.h
Go to the documentation of this file.
1/**********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__COLORS_G_H
14#define FC__COLORS_G_H
15
16#include "colors_common.h"
17
19
20struct color;
21
22GUI_FUNC_PROTO(struct color *, color_alloc, int r, int g, int b)
24
26
27#endif /* FC__COLORS_G_H */
struct color * color_alloc(int r, int g, int b)
Definition colors.c:38
void color_free(struct color *color)
Definition colors.c:53
int color_brightness_score(struct color *pcolor)
Definition colors.c:62
#define GUI_FUNC_PROTO(_type, _func,...)
Definition colors.h:21
int g
Definition colors.h:21
int r
Definition colors.h:21
int b
Definition colors.h:21