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)
 
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.

◆ 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.

◆ 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.