Freeciv-3.3
Loading...
Searching...
No Matches
colors.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
14/***********************************************************************
15 colors.h - description
16 -------------------
17 begin : Mon Jul 15 2002
18 copyright : (C) 2002 by Rafał Bursig
19 email : Rafał Bursig <bursig@poczta.fm>
20***********************************************************************/
21
22#ifndef FC__COLORS_H
23#define FC__COLORS_H
24
25/* SDL3 */
26#include <SDL3/SDL.h>
27
28/* client */
29#include "colors_g.h"
30
31/* gui-sdl3 */
32#include "themecolors.h"
33
34struct color {
36};
37
38struct color *color_alloc_rgba(int r, int g, int b, int a);
41
42#endif /* FC__COLORS_H */
char * incite_cost
Definition comments.c:74
struct color * color_alloc_rgba(int r, int g, int b, int a)
Definition colors.c:64
SDL_Color * get_theme_color(enum theme_color themecolor)
Definition colors.c:47
SDL_Color * get_game_color(enum color_std stdcolor)
Definition colors.c:55
theme_color
Definition themecolors.h:23
Definition colors.h:21
int g
Definition colors.h:21
GdkRGBA color
Definition colors.h:22
int r
Definition colors.h:21
int b
Definition colors.h:21