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

Go to the source code of this file.

Functions

void citizens_dialog_init (void)
 
void citizens_dialog_done (void)
 
GtkWidgetcitizens_dialog_display (const struct city *pcity)
 
void citizens_dialog_refresh (const struct city *pcity)
 
void citizens_dialog_close (const struct city *pcity)
 

Function Documentation

◆ citizens_dialog_close()

void citizens_dialog_close ( const struct city pcity)

Close citizens dialog of one city

Definition at line 366 of file citizensinfo.c.

Referenced by city_destroy_callback(), and switch_city_callback().

◆ citizens_dialog_display()

GtkWidget * citizens_dialog_display ( const struct city pcity)

Make citizen dialog of the city visible.

Definition at line 385 of file citizensinfo.c.

Referenced by create_and_append_happiness_page(), and switch_city_callback().

◆ citizens_dialog_done()

void citizens_dialog_done ( void  )

Free resources allocated for citizens dialog

Definition at line 277 of file citizensinfo.c.

Referenced by ui_main().

◆ citizens_dialog_init()

void citizens_dialog_init ( void  )

Initialize citizens dialog

Definition at line 269 of file citizensinfo.c.

Referenced by activate_gui(), and ui_main().

◆ citizens_dialog_refresh()

void citizens_dialog_refresh ( const struct city pcity)

Refresh citizen dialog of the given city

Definition at line 299 of file citizensinfo.c.

Referenced by citizens_dialog_create(), citizens_dialog_display(), and real_city_dialog_refresh().