Freeciv-3.1: /fast/freeciv/nightly/S3_1/client/gui-stub/themes.c Source File

Freeciv-3.1

Loading...
Searching...
No Matches
themes.c
Go to the documentation of this file.
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)
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#ifdef HAVE_CONFIG_H
14#include <fc_config.h>
15#endif
16
17/* utility */
18#include "mem.h"
19
20/* client */
21#include "themes_common.h"
22
23/* gui main header */
24#include "gui_stub.h"
25
26/* client/include */
27#include "themes_g.h"
28
29/*************************************************************************/
32 void gui_gui_load_theme(const char *directory, const char *theme_name)
33{
34 /* Nothing */
35}
36
37/*************************************************************************/
40 void gui_gui_clear_theme(void)
41{
42 /* Nothing */
43}
44
45/*************************************************************************/
51 char **gui_get_gui_specific_themes_directories(int *count)
52{
53 *count = 0;
54
55 return fc_malloc(sizeof(char*) * 0);
56}
57
58/*************************************************************************/
63 char **gui_get_usable_themes_in_directory(const char *directory, int *count)
64{
65 *count = 0;
66 return fc_malloc(sizeof(char*) * 0);
67}
gui_gui_load_theme
void gui_gui_load_theme(const char *directory, const char *theme_name)
Definition themes.c:32
gui_get_usable_themes_in_directory
char ** gui_get_usable_themes_in_directory(const char *directory, int *count)
Definition themes.c:63
gui_get_gui_specific_themes_directories
char ** gui_get_gui_specific_themes_directories(int *count)
Definition themes.c:51
gui_gui_clear_theme
void gui_gui_clear_theme(void)
Definition themes.c:40
gui_stub.h
mem.h
fc_malloc
#define fc_malloc(sz)
Definition mem.h:34
themes_common.h
themes_g.h
directory
const char * directory
Definition themes_g.h:23