Freeciv-3.2
Loading...
Searching...
No Matches
themebackgrounds.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 2006 - The Freeciv Project
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
14#ifndef FC__THEMEBACKGROUNDS_H
15#define FC__THEMEBACKGROUNDS_H
16
17/* SDL3 */
18#include <SDL3/SDL.h>
19
20/* utility */
21#include "registry.h"
22
50
52struct theme;
53
54SDL_Surface *theme_get_background(const struct theme *t, enum theme_background background);
55
56/* Functions used by the theme to allocate the background system. */
58
60
61#endif /* FC__THEMEBACKGROUNDS_H */
char * incite_cost
Definition comments.c:75
struct theme_background_system * theme_background_system_read(struct section_file *file)
theme_background
@ BACKGROUND_NEWCITYDLG
@ BACKGROUND_SCIENCEDLG
@ BACKGROUND_MAINPAGE
@ BACKGROUND_CITYGOVDLG
@ BACKGROUND_NATIONDLG
@ BACKGROUND_OPTIONDLG
@ BACKGROUND_REVOLUTIONDLG
@ BACKGROUND_CHANGERESEARCHDLG
@ BACKGROUND_STARTMENU
@ BACKGROUND_WLDLG
@ BACKGROUND_CONNECTDLG
@ BACKGROUND_JOINGAMEDLG
@ BACKGROUND_SPYSTEALDLG
@ BACKGROUND_MESSAGEWIN
@ BACKGROUND_USERPASSWDDLG
@ BACKGROUND_LAST
@ BACKGROUND_LOADGAMEDLG
@ BACKGROUND_UNITSREP
@ BACKGROUND_ECONOMYDLG
@ BACKGROUND_CHOOSEGOVERNMENTDLG
@ BACKGROUND_CONNLISTDLG
@ BACKGROUND_HELPDLG
@ BACKGROUND_CITYDLG
@ BACKGROUND_CITYREP
void theme_background_system_free(struct theme_background_system *backgrounds)
SDL_Surface * theme_get_background(const struct theme *t, enum theme_background background)
char * backgrounds[BACKGROUND_LAST]