1 /**********************************************************************
2 Freeciv - Copyright (C) 2005 The Freeciv Team
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)
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 ***********************************************************************/
14 #include <fc_config.h>
21 #include "themes_common.h"
26 /*****************************************************************************
27 Loads a gtk theme directory/theme_name
28 *****************************************************************************/
29 void gui_load_theme(const char *directory
, const char *theme_name
)
34 /*****************************************************************************
35 Clears a theme (sets default system theme)
36 *****************************************************************************/
37 void gui_clear_theme(void)
42 /*****************************************************************************
43 Each gui has its own themes directories.
45 Returns an array containing these strings and sets array size in count.
46 The caller is responsible for freeing the array and the paths.
47 *****************************************************************************/
48 char **get_gui_specific_themes_directories(int *count
)
52 return fc_malloc(sizeof(char*) * 0);
55 /*****************************************************************************
56 Return an array of names of usable themes in the given directory.
57 Array size is stored in count.
58 Useable theme for gtk+ is a directory which contains file gtk-2.0/gtkrc.
59 The caller is responsible for freeing the array and the names
60 *****************************************************************************/
61 char **get_useable_themes_in_directory(const char *directory
, int *count
)
64 return fc_malloc(sizeof(char*) * 0);