Freeciv-3.3
Loading...
Searching...
No Matches
Functions | Variables
finddlg.c File Reference
#include <stdlib.h>
#include <SDL2/SDL.h>
#include "fcintl.h"
#include "log.h"
#include "game.h"
#include "nation.h"
#include "zoom.h"
#include "colors.h"
#include "graphics.h"
#include "gui_id.h"
#include "gui_main.h"
#include "gui_tilespec.h"
#include "mapctrl.h"
#include "mapview.h"
#include "sprite.h"
#include "widget.h"
#include "finddlg.h"

Go to the source code of this file.

Functions

static int find_city_window_dlg_callback (struct widget *pwindow)
 
static int exit_find_city_dlg_callback (struct widget *pwidget)
 
static int find_city_callback (struct widget *pwidget)
 
void popdown_find_dialog (void)
 
void popup_find_dialog (void)
 

Variables

static struct advanced_dialogfind_city_dlg = NULL
 

Function Documentation

◆ exit_find_city_dlg_callback()

static int exit_find_city_dlg_callback ( struct widget pwidget)
static

Close find city dialog.

Definition at line 71 of file finddlg.c.

Referenced by popup_find_dialog().

◆ find_city_callback()

static int find_city_callback ( struct widget pwidget)
static

User has selected city to find.

Definition at line 90 of file finddlg.c.

Referenced by popup_find_dialog().

◆ find_city_window_dlg_callback()

static int find_city_window_dlg_callback ( struct widget pwindow)
static

User interacted with find city dialog window.

Definition at line 59 of file finddlg.c.

Referenced by popup_find_dialog().

◆ popdown_find_dialog()

void popdown_find_dialog ( void  )

Popdown a dialog to ask for a city to find.

Definition at line 110 of file finddlg.c.

Referenced by exit_find_city_dlg_callback(), find_city_callback(), and popdown_all_game_dialogs().

◆ popup_find_dialog()

void popup_find_dialog ( void  )

Popup a dialog to ask for a city to find.

Definition at line 124 of file finddlg.c.

Variable Documentation

◆ find_city_dlg

struct advanced_dialog* find_city_dlg = NULL
static

Definition at line 54 of file finddlg.c.

Referenced by find_city_window_dlg_callback(), popdown_find_dialog(), and popup_find_dialog().