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.
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.
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.
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.
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.
void property_editor_popdown | ( | struct property_editor * | pe | ) |
Hide the property editor window.
Definition at line 6272 of file editprop.c.
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.
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.