Freeciv-3.3
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)
 
GdkPixbufget_flag (const struct nation_type *pnation)
 
GdkPixbufcreate_player_icon (const struct player *plr)
 

Variables

struct gui_dialogplayers_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