Freeciv-3.2
|
#include <gtk/gtk.h>
#include "fcintl.h"
#include "extras.h"
#include "game.h"
#include "client_main.h"
#include "dialogs_g.h"
#include "mapview_common.h"
#include "gui_main.h"
#include "gui_stuff.h"
#include "infradlg.h"
Go to the source code of this file.
Data Structures | |
struct | infra_cb_data |
Functions | |
static bool | infra_dialog_open (void) |
static void | infra_response_callback (GtkWidget *dlg, gint arg) |
static void | infra_selected_callback (GtkButton *but, gpointer userdata) |
void | infra_dialog_popup (void) |
void | update_infra_dialog (void) |
bool | infra_placement_mode (void) |
void | infra_placement_set_tile (struct tile *ptile) |
Variables | |
static GtkWidget * | infra_list_box = NULL |
static GtkWidget * | instruction_label = NULL |
static GtkWidget * | points_label = NULL |
static int | infra_rows = 0 |
Is infra dialog currently open?
Definition at line 51 of file infradlg.c.
Open infra placement dialog
Definition at line 85 of file infradlg.c.
Are we in infra placement mode at the moment?
Definition at line 156 of file infradlg.c.
Set tile for the infra placement.
Definition at line 164 of file infradlg.c.
Handle infra dialog closing.
Definition at line 59 of file infradlg.c.
Handle user infra selection.
Definition at line 74 of file infradlg.c.
Refresh infra dialog
Definition at line 139 of file infradlg.c.
Definition at line 38 of file infradlg.c.
Referenced by infra_dialog_open(), infra_dialog_popup(), infra_placement_mode(), infra_placement_set_tile(), and infra_response_callback().
|
static |
Definition at line 41 of file infradlg.c.
Definition at line 39 of file infradlg.c.
Definition at line 40 of file infradlg.c.