Freeciv-3.2
Loading...
Searching...
No Matches
Functions
unitselect.h File Reference
#include <gtk/gtk.h>

Go to the source code of this file.

Functions

void unit_select_dialog_popup_main (struct tile *ptile, bool create)
 
void unit_select_dialog_popdown (void)
 
GdkPixbufusdlg_get_unit_image (const struct unit *punit)
 
const charusdlg_get_unit_descr (const struct unit *punit)
 

Function Documentation

◆ unit_select_dialog_popdown()

void unit_select_dialog_popdown ( void  )

Popdown the unit selection dialog.

Popdown a dialog window to select units on a particular tile.

Popdown the unit selection dialog.

Definition at line 214 of file unitselect.c.

Referenced by exit_unit_select_callback(), popdown_all_game_dialogs(), and unit_select_callback().

◆ unit_select_dialog_popup_main()

void unit_select_dialog_popup_main ( struct tile ptile,
bool  create 
)

Popup the unit selection dialog.

Definition at line 193 of file unitselect.c.

Referenced by unit_select_dialog_popup(), and unit_select_dialog_update_real().

◆ usdlg_get_unit_descr()

const char * usdlg_get_unit_descr ( const struct unit punit)

Get an unit selection list item suitable description of the specified unit.

Definition at line 786 of file unitselect.c.

Referenced by select_tgt_unit(), and usdlg_tab_append_units().

◆ usdlg_get_unit_image()

GdkPixbuf * usdlg_get_unit_image ( const struct unit punit)

Get an unit selection list item suitable image of the specified unit.

Caller is responsible for getting rid of the returned image after use.

Definition at line 765 of file unitselect.c.

Referenced by select_tgt_unit(), and usdlg_tab_append_units().