Freeciv-3.3: /fast/freeciv/nightly/main/client/include/colors_g.h Source File

Freeciv-3.3

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
18#include "gui_proto_constructor.h"
19
20struct color;
21
22 GUI_FUNC_PROTO(struct color *, color_alloc, int r, int g, int b)
23 GUI_FUNC_PROTO(void, color_free, struct color *color)
24
25 GUI_FUNC_PROTO(int, color_brightness_score, struct color *color)
26
27#endif /* FC__COLORS_G_H */
colors_common.h
color_alloc
struct color * color_alloc(int r, int g, int b)
Definition colors.c:38
color_free
void color_free(struct color *color)
Definition colors.c:53
color_brightness_score
int color_brightness_score(struct color *pcolor)
Definition colors.c:62
gui_proto_constructor.h
GUI_FUNC_PROTO
#define GUI_FUNC_PROTO(_type, _func,...)
Definition gui_proto_constructor.h:22
color
Definition colors.h:21
color::g
int g
Definition colors.h:21
color::r
int r
Definition colors.h:21
color::b
int b
Definition colors.h:21