#include <gdk/gdkkeysyms.h>
#include "fcintl.h"
#include "log.h"
#include "mem.h"
#include "support.h"
#include "events.h"
#include "game.h"
#include "chatline_g.h"
#include "citydlg_g.h"
#include "client_main.h"
#include "cma_fec.h"
#include "messagewin_g.h"
#include "options.h"
#include "cityrep.h"
#include "dialogs.h"
#include "gui_main.h"
#include "gui_stuff.h"
#include "helpdlg.h"
#include "inputdlg.h"
#include "cma_fe.h"
#include "speclist.h"
Go to the source code of this file.
|
static struct cma_dialog * | get_cma_dialog (struct city *pcity) |
|
static void | update_cma_preset_list (struct cma_dialog *pdialog) |
|
static gboolean | cma_preset_key_pressed (GtkEventControllerKey *controller, guint keyval, guint keycode, GdkModifierType state, gpointer data) |
|
static void | cma_del_preset_callback (GtkWidget *w, gpointer data) |
|
static void | cma_preset_remove (struct cma_dialog *pdialog, int preset_index) |
|
static void | cma_preset_remove_response (GtkWidget *w, gint response, gpointer data) |
|
static void | cma_add_preset_callback (GtkWidget *w, gpointer data) |
|
static void | cma_preset_add_popup_callback (gpointer data, gint response, const char *input) |
|
static void | cma_active_callback (GtkWidget *w, gpointer data) |
|
static void | cma_activate_preset_callback (GtkTreeView *view, GtkTreePath *path, GtkTreeViewColumn *col, gpointer data) |
|
static void | hscale_changed (GtkWidget *get, gpointer data) |
|
static void | set_hscales (const struct cm_parameter *const parameter, struct cma_dialog *pdialog) |
|
void | cma_fe_init (void) |
|
void | cma_fe_done (void) |
|
void | close_cma_dialog (struct city *pcity) |
|
static void | cma_dialog_destroy_callback (GtkWidget *w, gpointer data) |
|
static gboolean | button_press_callback (GtkGestureClick *gesture, int n_press, double x, double y) |
|
static void | help_callback (GtkWidget *w, gpointer data) |
|
static void | cell_data_func (GtkTreeViewColumn *col, GtkCellRenderer *cell, GtkTreeModel *model, GtkTreeIter *it, gpointer data) |
|
struct cma_dialog * | create_cma_dialog (struct city *pcity, bool tiny) |
|
void | refresh_cma_dialog (struct city *pcity, enum cma_refresh refresh) |
|
◆ BUFFER_SIZE
◆ dialog_list_iterate
◆ dialog_list_iterate_end
◆ SPECLIST_TAG
◆ SPECLIST_TYPE
◆ button_press_callback()
User has pressed button in cma dialog
Definition at line 146 of file cma_fe.c.
◆ cell_data_func()
Cell data function for cma dialog
Definition at line 184 of file cma_fe.c.
◆ close_cma_dialog()
only called when the city dialog is closed.
Definition at line 105 of file cma_fe.c.
◆ cma_activate_preset_callback()
Callback for selecting a preset from the preset view
Definition at line 561 of file cma_fe.c.
◆ cma_active_callback()
Activates/deactivates agent control.
Definition at line 721 of file cma_fe.c.
◆ cma_add_preset_callback()
Pops up a dialog to allow to name your new preset
Definition at line 585 of file cma_fe.c.
◆ cma_del_preset_callback()
Callback for del_preset
Definition at line 660 of file cma_fe.c.
◆ cma_dialog_destroy_callback()
Destroy cma dialog
Definition at line 121 of file cma_fe.c.
◆ cma_fe_done()
Free resources allocated for cma front end system
Definition at line 97 of file cma_fe.c.
◆ cma_fe_init()
Initialize cma front end system
Definition at line 89 of file cma_fe.c.
◆ cma_preset_add_popup_callback()
Callback for the add_preset popup
Definition at line 608 of file cma_fe.c.
◆ cma_preset_key_pressed()
◆ cma_preset_remove()
Pops up a dialog to remove a preset
Definition at line 675 of file cma_fe.c.
◆ cma_preset_remove_response()
Callback for the remove_preset popup
Definition at line 700 of file cma_fe.c.
◆ create_cma_dialog()
◆ get_cma_dialog()
◆ help_callback()
User has requested help
Definition at line 176 of file cma_fe.c.
◆ hscale_changed()
Callback if we moved the sliders.
Definition at line 761 of file cma_fe.c.
◆ refresh_cma_dialog()
Refreshes the cma dialog
Definition at line 488 of file cma_fe.c.
◆ set_hscales()
Called to adjust the sliders when a preset is selected notice that we don't want to call update_result here.
Definition at line 740 of file cma_fe.c.
◆ update_cma_preset_list()
Fills in the preset list
Definition at line 539 of file cma_fe.c.
◆ allow_refreshes
◆ dialog_list
struct dialog_list* dialog_list |
|
static |