#include <sys/stat.h>
#include "fc_dirent.h"
#include "fcintl.h"
#include "log.h"
#include "mem.h"
#include "string_vector.h"
#include "gui_main.h"
#include "themespec.h"
#include "themes_common.h"
#include "themes_g.h"
Go to the source code of this file.
◆ get_gui_specific_themes_directories()
char ** get_gui_specific_themes_directories |
( |
int * |
count | ) |
|
Each gui has its own themes directories.
Returns an array containing these strings and sets array size in count. The caller is responsible for freeing the array and the paths.
Definition at line 83 of file themes.c.
◆ get_usable_themes_in_directory()
Return an array of names of usable themes in the given directory. Array size is stored in count. Usable theme for gui-sdl2 is a directory which contains file theme.themespec. The caller is responsible for freeing the array and the names
Definition at line 107 of file themes.c.
◆ gui_clear_theme()
Clears a theme (sets default system theme)
Definition at line 66 of file themes.c.
◆ gui_load_theme()
Loads a gui-sdl2 theme directory/theme_name
Definition at line 40 of file themes.c.