Freeciv-3.1: /fast/freeciv/nightly/S3_1/client/gui-gtk-3.0/unitselect.h File Reference

Freeciv-3.1

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)
GdkPixbuf * | usdlg_get_unit_image (const struct unit *punit)
const char * | usdlg_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.

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

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

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