Freeciv-3.1: /fast/freeciv/nightly/S3_1/client/gui-sdl2/repodlgs.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
repodlgs.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
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__REPODLGS_H
15#define FC__REPODLGS_H
16
17/* SDL2 */
18#ifdef SDL2_PLAIN_INCLUDE
19#include <SDL.h>
20#else /* SDL2_PLAIN_INCLUDE */
21#include <SDL2/SDL.h>
22#endif /* SDL2_PLAIN_INCLUDE */
23
24/* client/gui-sdl2 */
25#include "gui_string.h"
26
27#include "repodlgs_g.h"
28
29 enum tech_info_mode {
30 TIM_FULL_MODE,
31 TIM_MED_MODE,
32 TIM_SMALL_MODE
33};
34
35SDL_Surface *create_select_tech_icon(utf8_str *pstr, Tech_type_id tech_id,
36 enum tech_info_mode mode);
37void science_report_dialogs_popdown_all(void);
38void economy_report_dialog_popdown(void);
39void units_report_dialog_popdown(void);
40
41#endif /* FC__REPODLGS_H */
Tech_type_id
int Tech_type_id
Definition fc_types.h:347
units_report_dialog_popdown
void units_report_dialog_popdown(void)
Definition repodlgs.c:1780
economy_report_dialog_popdown
void economy_report_dialog_popdown(void)
Definition repodlgs.c:1257
tech_info_mode
tech_info_mode
Definition repodlgs.h:29
TIM_SMALL_MODE
@ TIM_SMALL_MODE
Definition repodlgs.h:32
TIM_MED_MODE
@ TIM_MED_MODE
Definition repodlgs.h:31
TIM_FULL_MODE
@ TIM_FULL_MODE
Definition repodlgs.h:30
create_select_tech_icon
SDL_Surface * create_select_tech_icon(utf8_str *pstr, Tech_type_id tech_id, enum tech_info_mode mode)
Definition repodlgs.c:2423
science_report_dialogs_popdown_all
void science_report_dialogs_popdown_all(void)
Definition repodlgs.c:3481
gui_string.h
repodlgs_g.h
utf8_str
Definition gui_string.h:52