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

Freeciv-3.1

Loading...
Searching...
No Matches
Enumerations | Functions
repodlgs.h File Reference
`#include <SDL2/SDL.h>`
`#include "gui_string.h"`
`#include "repodlgs_g.h"`

Go to the source code of this file.

## Enumerations

enum | tech_info_mode { TIM_FULL_MODE , TIM_MED_MODE , TIM_SMALL_MODE }

## Functions

SDL_Surface * | create_select_tech_icon (utf8_str *pstr, Tech_type_id tech_id, enum tech_info_mode mode)
void | science_report_dialogs_popdown_all (void)
void | economy_report_dialog_popdown (void)
void | units_report_dialog_popdown (void)

## Enumeration Type Documentation

## ◆ tech_info_mode

enum tech_info_mode

Enumerator
TIM_FULL_MODE |
TIM_MED_MODE |
TIM_SMALL_MODE |

Definition at line 29 of file repodlgs.h.

## Function Documentation

## ◆ create_select_tech_icon()

SDL_Surface * create_select_tech_icon | ( | utf8_str * | pstr,
|  | Tech_type_id | tech_id,
|  | enum tech_info_mode | mode
| ) |  |

Create icon surface for a tech.

Definition at line 2423 of file repodlgs.c.

Referenced by create_tech_tree(), popup_change_research_dialog(), popup_change_research_goal_dialog(), popup_tech_info(), and spy_steal_popup_shared().

## ◆ economy_report_dialog_popdown()

void economy_report_dialog_popdown | ( | void |  | ) |

Close the economy report dialog.

Popdown the economy report.

Definition at line 1257 of file repodlgs.c.

Referenced by popdown_all_game_dialogs().

## ◆ science_report_dialogs_popdown_all()

void science_report_dialogs_popdown_all | ( | void |  | ) |

Popdown all the science reports (report, change tech, change goals).

Definition at line 3481 of file repodlgs.c.

Referenced by popdown_all_game_dialogs().

## ◆ units_report_dialog_popdown()

void units_report_dialog_popdown | ( | void |  | ) |

Closes the units report dialog.

Definition at line 1780 of file repodlgs.c.

Referenced by popdown_all_game_dialogs().