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_grid = 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.
Referenced by infra_dialog_popup(), and update_infra_dialog().
Open infra placement dialog
Definition at line 85 of file infradlg.c.
Referenced by infra_dialog_callback(), and infra_dialog_callback().
Are we in infra placement mode at the moment?
Definition at line 155 of file infradlg.c.
Referenced by butt_down_mapcanvas(), and left_butt_down_mapcanvas().
Set tile for the infra placement.
Definition at line 163 of file infradlg.c.
Referenced by butt_down_mapcanvas(), and left_butt_down_mapcanvas().
Handle infra dialog closing.
Definition at line 59 of file infradlg.c.
Referenced by infra_dialog_popup().
Handle user infra selection.
Definition at line 74 of file infradlg.c.
Referenced by infra_placement_set_tile().
Refresh infra dialog
Definition at line 138 of file infradlg.c.
Referenced by handle_player_info(), and infra_dialog_popup().
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.
Referenced by infra_placement_set_tile(), and infra_response_callback().
Definition at line 39 of file infradlg.c.
Referenced by infra_dialog_popup(), infra_placement_set_tile(), and infra_response_callback().
Definition at line 40 of file infradlg.c.
Referenced by infra_dialog_popup(), infra_response_callback(), and update_infra_dialog().