82 const struct text_tag_list *tags,
157 struct sprite *mask,
int mask_offset_x,
int mask_offset_y,
158 float scale,
bool smooth)
161 mask_offset_x, mask_offset_y, scale, smooth);
232 int src_x,
int src_y,
int dest_x,
int dest_y,
int width,
297 enum line_type ltype,
int start_x,
int start_y,
307 enum line_type ltype,
int start_x,
int start_y,
513 int attacker_hp,
int defender_hp,
514 bool make_att_veteran,
bool make_def_veteran)
517 attacker_hp, defender_hp, make_att_veteran,
struct canvas int int struct sprite bool int int fog_y canvas_fill_sprite_area
struct canvas int int struct sprite int int int int height
struct canvas int int struct sprite bool int int fog_y struct canvas struct sprite struct color * pcolor
struct canvas int int struct sprite bool int fog_x
struct canvas int int canvas_y
struct canvas int canvas_x
struct canvas int int struct sprite bool int int fog_y struct canvas struct sprite struct color int int canvas_y canvas_put_curved_line
struct canvas int int struct sprite bool int int fog_y struct canvas struct sprite struct color int int canvas_y struct canvas struct color enum line_type ltype int start_x int start_y int dx int dy enum client_font
struct canvas int int struct sprite int int int width
struct canvas int int struct sprite * psprite
struct canvas int int struct sprite int int offset_y
struct canvas int int struct sprite int offset_x
struct canvas int int struct sprite bool fog
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit * punit
editgui_notify_object_changed
static GtkWidget * source
void update_timeout_label(void)
struct gui_funcs * get_gui_funcs(void)
void get_sprite_dimensions(struct sprite *sprite, int *width, int *height)
void real_focus_units_changed(void)
void set_unit_icons_more_arrow(bool onoff)
void free_sprite(struct sprite *s)
void editgui_popup_properties(const struct tile_list *tiles, int objtype)
void set_unit_icon(int idx, struct unit *punit)
void editgui_notify_object_created(int tag, int id)
char ** get_gui_specific_themes_directories(int *count)
void gui_clear_theme(void)
void real_city_dialog_popup(struct city *pcity)
void set_rulesets(int num_rulesets, char **rulesets)
void version_message(const char *vertext)
enum client_pages get_current_client_page(void)
bool city_dialog_is_open(struct city *pcity)
enum gui_type get_gui_type(void)
void canvas_put_rectangle(struct canvas *pcanvas, struct color *pcolor, int canvas_x, int canvas_y, int width, int height)
void real_city_dialog_refresh(struct city *pcity)
void gui_load_theme(const char *directory, const char *theme_name)
void server_connect(void)
void editgui_popdown_all(void)
struct sprite * load_gfxnumber(int num)
void add_idle_callback(void(callback)(void *), void *data)
void canvas_set_zoom(struct canvas *store, float zoom)
void canvas_mapview_init(struct canvas *store)
void options_extra_init(void)
void popdown_all_city_dialogs(void)
void refresh_unit_city_dialogs(struct unit *punit)
void real_conn_list_dialog_update(void *unused)
void real_set_client_page(enum client_pages page)
void get_text_size(int *width, int *height, enum client_font font, const char *text)
void insert_client_build_info(char *outbuf, size_t outlen)
void canvas_free(struct canvas *store)
bool request_transport(struct unit *pcargo, struct tile *ptile)
struct sprite * load_gfxfile(const char *filename)
void close_connection_dialog(void)
void remove_net_input(void)
bool handmade_scenario_warning(void)
bool is_view_supported(enum ts_type type)
void update_infra_dialog(void)
void map_canvas_size_refresh(void)
void real_output_window_append(const char *astring, const struct text_tag_list *tags, int conn_id)
void popup_combat_info(int attacker_unit_id, int defender_unit_id, int attacker_hp, int defender_hp, bool make_att_veteran, bool make_def_veteran)
void canvas_put_sprite_full(struct canvas *pcanvas, int canvas_x, int canvas_y, struct sprite *psprite)
void tileset_type_set(enum ts_type type)
bool has_zoom_support(void)
void color_free(struct color *pcolor)
void canvas_put_line(struct canvas *pcanvas, struct color *pcolor, enum line_type ltype, int start_x, int start_y, int dx, int dy)
struct color * color_alloc(int r, int g, int b)
void editgui_refresh(void)
void canvas_copy(struct canvas *dest, struct canvas *src, int src_x, int src_y, int dest_x, int dest_y, int width, int height)
void add_net_input(int sock)
static struct gui_funcs funcs
struct sprite * crop_sprite(struct sprite *source, int x, int y, int width, int height, struct sprite *mask, int mask_offset_x, int mask_offset_y, float scale, bool smooth)
struct canvas * canvas_create(int width, int height)
void editgui_tileset_changed(void)
void popdown_city_dialog(struct city *pcity)
int ui_main(int argc, char *argv[])
void(* server_connect)(void)
void(* editgui_tileset_changed)(void)
struct sprite *(* load_gfxnumber)(int num)
int(* ui_main)(int argc, char *argv[])
void(* canvas_put_text)(struct canvas *pcanvas, int canvas_x, int canvas_y, enum client_font font, struct color *pcolor, const char *text)
char **(* get_gui_specific_themes_directories)(int *count)
void(* gui_load_theme)(const char *directory, const char *theme_name)
void(* update_timeout_label)(void)
void(* canvas_put_sprite)(struct canvas *pcanvas, int canvas_x, int canvas_y, struct sprite *psprite, int offset_x, int offset_y, int width, int height)
void(* editgui_refresh)(void)
void(* set_unit_icon)(int idx, struct unit *punit)
void(* canvas_copy)(struct canvas *dest, struct canvas *src, int src_x, int src_y, int dest_x, int dest_y, int width, int height)
void(* add_idle_callback)(void(callback)(void *), void *data)
void(* canvas_put_sprite_full)(struct canvas *pcanvas, int canvas_x, int canvas_y, struct sprite *psprite)
void(* add_net_input)(int sock)
void(* tileset_type_set)(enum ts_type type)
void(* editgui_notify_object_created)(int tag, int id)
enum client_pages(* get_current_client_page)(void)
void(* real_city_dialog_refresh)(struct city *pcity)
void(* gui_clear_theme)(void)
struct sprite *(* load_gfxfile)(const char *filename)
void(* remove_net_input)(void)
void(* real_city_dialog_popup)(struct city *pcity)
void(* color_free)(struct color *pcolor)
void(* refresh_unit_city_dialogs)(struct unit *punit)
bool(* is_view_supported)(enum ts_type type)
void(* get_text_size)(int *width, int *height, enum client_font font, const char *text)
void(* editgui_popup_properties)(const struct tile_list *tiles, int objtype)
void(* update_infra_dialog)(void)
void(* popup_combat_info)(int attacker_unit_id, int defender_unit_id, int attacker_hp, int defender_hp, bool make_att_veteran, bool make_def_veteran)
void(* map_canvas_size_refresh)(void)
void(* editgui_notify_object_changed)(int objtype, int object_id, bool removal)
bool(* handmade_scenario_warning)(void)
void(* canvas_fill_sprite_area)(struct canvas *pcanvas, struct sprite *psprite, struct color *pcolor, int canvas_x, int canvas_y)
bool(* request_transport)(struct unit *pcargo, struct tile *ptile)
void(* set_rulesets)(int num_rulesets, char **rulesets)
void(* version_message)(const char *vertext)
void(* real_output_window_append)(const char *astring, const struct text_tag_list *tags, int conn_id)
struct sprite *(* create_sprite)(int width, int height, struct color *pcolor)
bool(* has_zoom_support)(void)
void(* get_sprite_dimensions)(struct sprite *sprite, int *width, int *height)
void(* set_unit_icons_more_arrow)(bool onoff)
void(* gui_update_font)(const char *font_name, const char *font_value)
struct canvas *(* canvas_create)(int width, int height)
void(* canvas_put_sprite_fogged)(struct canvas *pcanvas, int canvas_x, int canvas_y, struct sprite *psprite, bool fog, int fog_x, int fog_y)
void(* free_sprite)(struct sprite *s)
char **(* get_usable_themes_in_directory)(const char *directory, int *count)
void(* canvas_put_curved_line)(struct canvas *pcanvas, struct color *pcolor, enum line_type ltype, int start_x, int start_y, int dx, int dy)
void(* options_extra_init)(void)
void(* popdown_city_dialog)(struct city *pcity)
void(* canvas_put_line)(struct canvas *pcanvas, struct color *pcolor, enum line_type ltype, int start_x, int start_y, int dx, int dy)
void(* canvas_free)(struct canvas *store)
void(* canvas_set_zoom)(struct canvas *store, float zoom)
void(* insert_client_build_info)(char *outbuf, size_t outlen)
struct sprite *(* crop_sprite)(struct sprite *source, int x, int y, int width, int height, struct sprite *mask, int mask_offset_x, int mask_offset_y, float scale, bool smooth)
void(* canvas_put_rectangle)(struct canvas *pcanvas, struct color *pcolor, int canvas_x, int canvas_y, int width, int height)
enum gui_type(* get_gui_type)(void)
void(* editgui_popdown_all)(void)
void(* popdown_all_city_dialogs)(void)
void(* canvas_mapview_init)(struct canvas *store)
void(* close_connection_dialog)(void)
void(* real_focus_units_changed)(void)
void(* real_set_client_page)(enum client_pages page)
void(* real_conn_list_dialog_update)(void *unused)
struct color *(* color_alloc)(int r, int g, int b)
bool(* city_dialog_is_open)(struct city *pcity)
get_usable_themes_in_directory