Freeciv-3.1
|
Go to the source code of this file.
Functions | |
void | property_editor_clear (struct property_editor *pe) |
void | property_editor_load_tiles (struct property_editor *pe, const struct tile_list *tiles) |
void | property_editor_reload (struct property_editor *pe, enum editor_object_type objtype) |
void | property_editor_popup (struct property_editor *pe, enum editor_object_type objtype) |
void | property_editor_popdown (struct property_editor *pe) |
void | property_editor_handle_object_changed (struct property_editor *pe, enum editor_object_type objtype, int object_id, bool remove) |
void | property_editor_handle_object_created (struct property_editor *pe, int tag, int object_id) |
struct property_editor * | editprop_get_property_editor (void) |
struct property_editor * editprop_get_property_editor | ( | void | ) |
Get the property editor for the client's GUI.
Definition at line 6207 of file editprop.c.
Referenced by editbar_player_properties_button_clicked(), editgui_notify_object_changed(), editgui_notify_object_created(), editgui_popdown_all(), editgui_popup_properties(), editgui_refresh(), popdown_all_game_dialogs(), scenario_properties_callback(), and scenario_properties_callback().
void property_editor_clear | ( | struct property_editor * | pe | ) |
Clear all property pages in the given property editor.
Definition at line 6324 of file editprop.c.
Referenced by editgui_popdown_all(), editgui_popup_properties(), and editgui_refresh().
void property_editor_handle_object_changed | ( | struct property_editor * | pe, |
enum editor_object_type | objtype, | ||
int | object_id, | ||
bool | remove | ||
) |
Handle a notification from the client core that some object has changed state at the server side (including being removed).
Definition at line 6284 of file editprop.c.
Referenced by editgui_notify_object_changed().
void property_editor_handle_object_created | ( | struct property_editor * | pe, |
int | tag, | ||
int | object_id | ||
) |
Handle a notification that an object was created under the given tag.
Definition at line 6306 of file editprop.c.
Referenced by editgui_notify_object_created().
void property_editor_load_tiles | ( | struct property_editor * | pe, |
const struct tile_list * | tiles | ||
) |
Refresh the given property editor according to the given list of tiles.
Definition at line 6218 of file editprop.c.
Referenced by editgui_popup_properties().
void property_editor_popdown | ( | struct property_editor * | pe | ) |
Hide the property editor window.
Definition at line 6272 of file editprop.c.
Referenced by editgui_popdown_all(), editgui_refresh(), and popdown_all_game_dialogs().
void property_editor_popup | ( | struct property_editor * | pe, |
enum editor_object_type | objtype | ||
) |
Show the property editor to the user, with given page corresponding to 'objtype' in front (if a valid object type).
Definition at line 6254 of file editprop.c.
Referenced by editbar_player_properties_button_clicked(), editgui_popup_properties(), scenario_properties_callback(), and scenario_properties_callback().
void property_editor_reload | ( | struct property_editor * | pe, |
enum editor_object_type | objtype | ||
) |
Clear and load objects into the property page corresponding to the given object type. Also, make it the current shown notebook page.
Definition at line 6344 of file editprop.c.
Referenced by editbar_player_properties_button_clicked(), editgui_popup_properties(), scenario_properties_callback(), and scenario_properties_callback().