Freeciv-3.3: /fast/freeciv/nightly/main/client/gui-gtk-4.0/happiness.h File Reference

Freeciv-3.3

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)
GtkWidget * | get_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.

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

## ◆ happiness_dialog_done()

void happiness_dialog_done | ( | void |  | ) |

Remove happiness dialog

Definition at line 94 of file happiness.c.

## ◆ happiness_dialog_init()

void happiness_dialog_init | ( | void |  | ) |

Create happiness dialog

Definition at line 86 of file happiness.c.

## ◆ refresh_happiness_dialog()

void refresh_happiness_dialog | ( | struct city * | pcity | ) |

Refresh whole happiness dialog

Definition at line 317 of file happiness.c.