Freeciv-3.2: /fast/freeciv/nightly/S3_2/client/gui-gtk-4.0/plrdlg.h File Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Functions | Variables
plrdlg.h File Reference
`#include "plrdlg_g.h"`

Go to the source code of this file.

## Functions

void | popdown_players_dialog (void)
GdkPixbuf * | get_flag (const struct nation_type *pnation)
GdkPixbuf * | create_player_icon (const struct player *plr)

## Variables

struct gui_dialog * | players_dialog_shell

## Function Documentation

## ◆ create_player_icon()

GdkPixbuf * create_player_icon | ( | const struct player * | plr | ) |

Create a small colored square representing the player color, for use in player lists. May return NULL if the player has no color yet.

Definition at line 117 of file plrdlg.c.

Referenced by fill_row(), and real_conn_list_dialog_update().

## ◆ get_flag()

GdkPixbuf * get_flag | ( | const struct nation_type * | nation | ) |

Builds the flag pixmap. May return NULL if there is not enough memory. You must call g_object_unref on the returned pixbuf when it is no longer needed.

Definition at line 607 of file plrdlg.c.

Referenced by citizens_dialog_row(), create_list_of_nations_in_group(), endgame_report_dialog_player(), extviewer_refresh_widgets(), extviewer_view_cell_toggled(), fill_row(), list_store_append_player_cities(), property_page_set_store_value(), real_conn_list_dialog_update(), refresh_player_pov_indicator(), and refresh_tool_applied_player_combo().

## ◆ popdown_players_dialog()

void popdown_players_dialog | ( | void |  | ) |

Closes the players dialog.

Popdown the player list dialog.

Definition at line 105 of file plrdlg.c.

## Variable Documentation

## ◆ players_dialog_shell

struct gui_dialog* players_dialog_shell

extern

Definition at line 58 of file plrdlg.c.

Referenced by create_players_dialog(), popdown_players_dialog(), popup_diplomacy_dialog(), popup_players_dialog(), and real_players_dialog_update().