|
static void | initialize_city_dialogs (void) |
|
static void | city_dialog_map_create (struct city_dialog *pdialog, struct city_map_canvas *cmap_canvas) |
|
static void | city_dialog_map_recenter (GtkWidget *map_canvas_sw) |
|
static struct city_dialog * | get_city_dialog (struct city *pcity) |
|
static gboolean | citydlg_keyboard_handler (GtkEventControllerKey *controller, guint keyval, guint keycode, GdkModifierType state, gpointer data) |
|
static GtkWidget * | create_city_info_table (struct city_dialog *pdialog, GtkWidget **info_label) |
|
static void | create_and_append_overview_page (struct city_dialog *pdialog) |
|
static void | create_and_append_map_page (struct city_dialog *pdialog) |
|
static void | create_and_append_buildings_page (struct city_dialog *pdialog) |
|
static void | create_and_append_worklist_page (struct city_dialog *pdialog) |
|
static void | create_and_append_happiness_page (struct city_dialog *pdialog) |
|
static void | create_and_append_cma_page (struct city_dialog *pdialog) |
|
static void | create_and_append_settings_page (struct city_dialog *pdialog) |
|
static struct city_dialog * | create_city_dialog (struct city *pcity) |
|
static void | city_dialog_update_title (struct city_dialog *pdialog) |
|
static void | city_dialog_update_citizens (struct city_dialog *pdialog) |
|
static void | city_dialog_update_counters (struct city_dialog *pdialog) |
|
static void | city_dialog_update_information (GtkWidget **info_label, struct city_dialog *pdialog) |
|
static void | city_dialog_update_map (struct city_dialog *pdialog) |
|
static void | city_dialog_update_building (struct city_dialog *pdialog) |
|
static void | city_dialog_update_improvement_list (struct city_dialog *pdialog) |
|
static void | city_dialog_update_supported_units (struct city_dialog *pdialog) |
|
static void | city_dialog_update_present_units (struct city_dialog *pdialog) |
|
static void | city_dialog_update_prev_next (void) |
|
static void | show_units_response (void *data) |
|
static gboolean | supported_unit_callback (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
static gboolean | present_unit_callback (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
static gboolean | middle_supported_unit_release (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
static gboolean | middle_present_unit_release (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
static gboolean | right_unit_release (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
static void | close_citydlg_unit_popover (struct city_dialog *pdialog) |
|
static void | unit_center_callback (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | unit_activate_callback (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | supported_unit_activate_close_callback (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | present_unit_activate_close_callback (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | unit_load_callback (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | unit_unload_callback (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | unit_sentry_callback (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | unit_fortify_callback (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | unit_disband_callback (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | unit_homecity_callback (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | unit_upgrade_callback (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static gboolean | citizens_callback (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
static gboolean | left_button_down_citymap (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
static gboolean | right_button_down_citymap (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
static void | draw_map_canvas (struct city_dialog *pdialog) |
|
static void | buy_callback (GtkWidget *w, gpointer data) |
|
static void | change_production_callback (GtkComboBox *combo, struct city_dialog *pdialog) |
|
static void | sell_callback (struct impr_type *pimprove, gpointer data) |
|
static void | sell_callback_response (GtkWidget *w, gint response, gpointer data) |
|
static void | impr_callback (GtkTreeView *view, GtkTreePath *path, GtkTreeViewColumn *col, gpointer data) |
|
static void | rename_callback (GtkWidget *w, gpointer data) |
|
static void | rename_popup_callback (gpointer data, gint response, const char *input) |
|
static void | set_cityopt_values (struct city_dialog *pdialog) |
|
static void | cityopt_callback (GtkWidget *w, gpointer data) |
|
static void | misc_whichtab_callback (GtkWidget *w, gpointer data) |
|
static void | city_destroy_callback (GtkWidget *w, gpointer data) |
|
static void | close_city_dialog (struct city_dialog *pdialog) |
|
static void | citydlg_response_callback (GtkDialog *dlg, gint response, void *data) |
|
static void | close_callback (GtkWidget *w, gpointer data) |
|
static void | switch_city_callback (GtkWidget *w, gpointer data) |
|
static void | init_citydlg_dimensions (void) |
|
void | reset_city_dialogs (void) |
|
static void | canvas_draw_cb (GtkDrawingArea *w, cairo_t *cr, int width, int height, gpointer data) |
|
void | real_city_dialog_refresh (struct city *pcity) |
|
void | refresh_unit_city_dialogs (struct unit *punit) |
|
void | real_city_dialog_popup (struct city *pcity) |
|
bool | city_dialog_is_open (struct city *pcity) |
|
void | popdown_city_dialog (struct city *pcity) |
|
void | popdown_all_city_dialogs (void) |
|
static gboolean | show_info_popup (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
static void | create_citydlg_main_map (struct city_dialog *pdialog, GtkWidget *grid, int col, int row) |
|
static GtkWidget * | create_citydlg_improvement_list (struct city_dialog *pdialog) |
|
static gboolean | target_drag_data_received (GtkDropTarget *target, const GValue *value, double x, double y, gpointer data) |
|
static int | create_production_header (struct city_dialog *pdialog, GtkWidget *grid, int row) |
|
static void | create_and_append_counters_page (struct city_dialog *pdialog) |
|
static bool | create_unit_menu (struct city_dialog *pdialog, struct unit *punit, GtkWidget *wdg, bool supported) |
|
static void | set_city_workertask (GtkWidget *w, gpointer data) |
|
static void | workertask_dlg_destroy (GtkWidget *w, gpointer data) |
|
static void | popup_workertask_dlg (struct city *pcity, struct tile *ptile) |
|
static void | buy_callback_response (GtkWidget *w, gint response, gpointer data) |
|
void | refresh_all_city_worklists (void) |
|