Freeciv-3.3
|
Go to the source code of this file.
Data Structures | |
struct | rgbacolor |
struct | theme_color_system |
Functions | |
struct theme_color_system * | theme_color_system_read (struct section_file *file) |
void | theme_color_system_free (struct theme_color_system *colors) |
static struct color * | ensure_color_rgba (struct rgbacolor *rgba) |
struct color * | theme_get_color (const struct theme *t, enum theme_color color) |
Variables | |
static char * | color_names [] |
Return the RGBA color, allocating it if necessary.
Definition at line 192 of file themecolors.c.
void theme_color_system_free | ( | struct theme_color_system * | colors | ) |
Called when the client first starts to free any allocated colors.
Definition at line 176 of file themecolors.c.
struct theme_color_system * theme_color_system_read | ( | struct section_file * | file | ) |
Read theme color system from a file.
Definition at line 152 of file themecolors.c.
Return a pointer to the given "theme" color.
Definition at line 204 of file themecolors.c.
|
static |
Definition at line 39 of file themecolors.c.