Freeciv-3.2
|
#include "registry.h"
#include "mem.h"
#include "graphics.h"
#include "themespec.h"
#include "themebackgrounds.h"
Go to the source code of this file.
Data Structures | |
struct | theme_background_system |
Functions | |
struct theme_background_system * | theme_background_system_read (struct section_file *file) |
void | theme_background_system_free (struct theme_background_system *backgrounds) |
SDL_Surface * | theme_get_background (const struct theme *t, enum theme_background background) |
Variables | |
static char * | background_names [] |
void theme_background_system_free | ( | struct theme_background_system * | backgrounds | ) |
Called when the client first starts to free any allocated backgrounds.
Definition at line 80 of file themebackgrounds.c.
Referenced by theme_free_toplevel().
struct theme_background_system * theme_background_system_read | ( | struct section_file * | file | ) |
Read theme background system from a file.
Definition at line 61 of file themebackgrounds.c.
Referenced by theme_read_toplevel().
SDL_Surface * theme_get_background | ( | const struct theme * | t, |
enum theme_background | background | ||
) |
Return a pointer to the given theme background.
Definition at line 94 of file themebackgrounds.c.
Referenced by arrange_widgets(), draw_intro_gfx(), economy_report_dialog_popup(), meswin_dialog_popup(), popup_change_research_dialog(), popup_change_research_goal_dialog(), popup_city_cma_dialog(), popup_conn_list_dialog(), popup_connection_dialog(), popup_government_dialog(), popup_impr_info(), popup_join_game_dialog(), popup_load_game_dialog(), popup_new_user_passwd_dialog(), popup_newcity_dialog(), popup_races_dialog(), popup_tech_info(), popup_unit_info(), popup_user_passwd_dialog(), popup_worklist_editor(), real_activeunits_report_dialog_update(), real_city_dialog_popup(), real_info_city_report_dialog_update(), science_report_dialog_popup(), show_main_page(), and spy_steal_popup_shared().
|
static |
Definition at line 32 of file themebackgrounds.c.
Referenced by theme_background_system_read().