Freeciv-3.2
|
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <gtk/gtk.h>
#include "fc_dirent.h"
#include "mem.h"
#include "string_vector.h"
#include "themes_common.h"
#include "gui_main.h"
#include "themes_g.h"
Go to the source code of this file.
Functions | |
void | gui_load_theme (const char *directory, const char *theme_name) |
void | gui_clear_theme (void) |
char ** | get_gui_specific_themes_directories (int *count) |
char ** | get_usable_themes_in_directory (const char *directory, int *count) |
Variables | |
static GtkCssProvider * | theme_provider = NULL |
Each gui has its own themes directories. For gtk3.22 these are:
Definition at line 104 of file themes.c.
Referenced by init_themes().
Clears a theme (sets default system theme)
Definition at line 72 of file themes.c.
Referenced by tileset_use_preferred_theme().
Loads a gtk theme directory/theme_name
Definition at line 45 of file themes.c.
Referenced by load_theme().
|
static |
Definition at line 40 of file themes.c.
Referenced by gui_clear_theme(), and gui_load_theme().