|
static struct tool_value_selector * | create_tool_value_selector (struct editbar *eb_parent, enum editor_tool_type ett) |
|
static void | editinfobox_refresh (struct editinfobox *ei) |
|
static void | editbar_player_pov_combobox_changed (GtkComboBox *combo, gpointer user_data) |
|
static void | editbar_mode_button_toggled (GtkToggleButton *tb, gpointer userdata) |
|
static void | editbar_tool_button_toggled (GtkToggleButton *tb, gpointer userdata) |
|
static void | try_to_set_editor_tool (enum editor_tool_type ett) |
|
static void | refresh_all_buttons (struct editbar *eb) |
|
static void | refresh_player_pov_indicator (struct editbar *eb) |
|
static int | tool_value_selector_run (struct tool_value_selector *tvs) |
|
static bool | editgui_run_tool_selection (enum editor_tool_type ett) |
|
static gboolean | editbar_tool_right_button (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
static void | editbar_add_tool_button (struct editbar *eb, enum editor_tool_type ett) |
|
static void | editbar_player_properties_button_clicked (GtkButton *b, gpointer userdata) |
|
static void | editbar_add_mode_button (struct editbar *eb, enum editor_tool_mode etm) |
|
static struct editbar * | editbar_create (void) |
|
static void | refresh_tool_value_selector (struct editbar *eb, enum editor_tool_type ett) |
|
static void | refresh_all_tool_value_selectors (struct editbar *eb) |
|
static void | editbar_refresh (struct editbar *eb) |
|
static GdkPixbuf * | create_terrain_pixbuf (struct terrain *pterrain) |
|
static void | clear_tool_store (GtkListStore *store) |
|
static void | clear_tool_stores (struct editbar *eb) |
|
static void | editbar_reload_tileset (struct editbar *eb) |
|
static int | convert_modifiers (int gdk_event_state) |
|
gboolean | handle_edit_mouse_button_press (GtkGestureClick *gesture, int editor_mouse_button, double x, double y) |
|
gboolean | handle_edit_mouse_button_release (GtkGestureClick *gesture, int editor_mouse_button, double x, double y) |
|
gboolean | handle_edit_mouse_move (GtkEventControllerMotion *controller, gdouble x, gdouble y) |
|
static void | tool_value_selector_treeview_row_activated (GtkTreeView *view, GtkTreePath *path, GtkTreeViewColumn *col, gpointer user_data) |
|
static gboolean | editinfobox_handle_tool_image_button_press (GtkGestureClick *gesture, int n_press, double x, double y) |
|
static gboolean | editinfobox_handle_mode_image_button_press (GtkGestureClick *gesture, int n_press, double x, double y) |
|
static void | editinfobox_spin_button_value_changed (GtkSpinButton *spinbutton, gpointer userdata) |
|
static void | editinfobox_tool_applied_player_changed (GtkComboBox *combo, gpointer userdata) |
|
static struct editinfobox * | editinfobox_create (void) |
|
static void | refresh_tool_applied_player_combo (struct editinfobox *ei) |
|
static GdkPixbuf * | get_tool_value_pixbuf (enum editor_tool_type ett, int value) |
|
static GdkPixbuf * | get_tool_mode_pixbuf (enum editor_tool_mode etm) |
|
static void | replace_widget (GtkWidget *old, GtkWidget *new) |
|
static gboolean | handle_edit_key_press_with_ctrl (guint keyval) |
|
static gboolean | handle_edit_key_press_with_shift (guint keyval) |
|
gboolean | handle_edit_key_press (guint keyval, GdkModifierType state) |
|
struct editbar * | editgui_get_editbar (void) |
|
void | editgui_refresh (void) |
|
void | editgui_create_widgets (void) |
|
void | editgui_free (void) |
|
struct editinfobox * | editgui_get_editinfobox (void) |
|
void | editgui_tileset_changed (void) |
|
void | editgui_popup_properties (const struct tile_list *tiles, int objtype) |
|
void | editgui_popdown_all (void) |
|
void | editgui_notify_object_changed (int objtype, int object_id, bool removal) |
|
void | editgui_notify_object_created (int tag, int id) |
|
static GdkPixbuf * create_terrain_pixbuf |
( |
struct terrain * |
pterrain | ) |
|
|
static |
Create a pixbuf containing a representative image for the given terrain type, to be used as an icon in the GUI.
May return NULL on error.
NB: You must call g_object_unref on the non-NULL return value when you no longer need it.
Definition at line 702 of file editgui.c.
void editgui_notify_object_changed |
( |
int |
objtype, |
|
|
int |
object_id, |
|
|
bool |
removal |
|
) |
| |
This is called to notify the editor GUI that some object (e.g. tile, unit, etc.) has changed (usually because the corresponding packet was received) and that widgets displaying the object should be updated.
Currently this is used to notify the property editor that some object has been removed or some property value has changed at the server.
Definition at line 1922 of file editgui.c.