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

Go to the source code of this file.

Functions

void happiness_dialog_init (void)
 
void happiness_dialog_done (void)
 
GtkWidgetget_top_happiness_display (struct city *pcity, bool low_dlg, GtkWidget *win)
 
void close_happiness_dialog (struct city *pcity)
 
void refresh_happiness_dialog (struct city *pcity)
 

Function Documentation

◆ close_happiness_dialog()

void close_happiness_dialog ( struct city pcity)

Close happiness dialog of given city

Definition at line 330 of file happiness.c.

Referenced by city_destroy_callback(), and switch_city_callback().

◆ get_top_happiness_display()

GtkWidget * get_top_happiness_display ( struct city pcity,
bool  low_dlg,
GtkWidget win 
)

Create happiness dialog and get its widget

Definition at line 356 of file happiness.c.

Referenced by create_and_append_happiness_page(), and switch_city_callback().

◆ happiness_dialog_done()

void happiness_dialog_done ( void  )

Remove happiness dialog

Definition at line 94 of file happiness.c.

Referenced by ui_main().

◆ happiness_dialog_init()

void happiness_dialog_init ( void  )

Create happiness dialog

Definition at line 86 of file happiness.c.

Referenced by activate_gui(), and ui_main().

◆ refresh_happiness_dialog()

void refresh_happiness_dialog ( struct city pcity)

Refresh whole happiness dialog

Definition at line 317 of file happiness.c.

Referenced by create_happiness_dialog(), and real_city_dialog_refresh().