Freeciv-3.2
|
#include "client_main.h"
#include "editgui_g.h"
#include "options.h"
#include "chatline_g.h"
#include "citydlg_g.h"
#include "connectdlg_g.h"
#include "dialogs_g.h"
#include "diplodlg_g.h"
#include "graphics_g.h"
#include "gui_main_g.h"
#include "mapview_g.h"
#include "themes_g.h"
#include "gui_interface.h"
Go to the source code of this file.
Variables | |
static struct gui_funcs | funcs |
Call add_idle_callback callback
Definition at line 413 of file gui_interface.c.
Call add_net_input callback
Definition at line 381 of file gui_interface.c.
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 | ||
) |
Call canvas_copy callback
Definition at line 232 of file gui_interface.c.
Call canvas_create callback
Definition at line 192 of file gui_interface.c.
void canvas_fill_sprite_area | ( | struct canvas * | pcanvas, |
struct sprite * | psprite, | ||
struct color * | pcolor, | ||
int | canvas_x, | ||
int | canvas_y | ||
) |
Call canvas_fill_sprite_area callback
Definition at line 299 of file gui_interface.c.
Call canvas_free callback
Definition at line 200 of file gui_interface.c.
Call canvas_mapview_init callback
Definition at line 224 of file gui_interface.c.
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 | ||
) |
Call canvas_put_curved_line callback
Definition at line 319 of file gui_interface.c.
void canvas_put_line | ( | struct canvas * | pcanvas, |
struct color * | pcolor, | ||
enum line_type | ltype, | ||
int | start_x, | ||
int | start_y, | ||
int | dx, | ||
int | dy | ||
) |
Call canvas_put_line callback
Definition at line 309 of file gui_interface.c.
void canvas_put_rectangle | ( | struct canvas * | pcanvas, |
struct color * | pcolor, | ||
int | canvas_x, | ||
int | canvas_y, | ||
int | width, | ||
int | height | ||
) |
Call canvas_put_rectangle callback
Definition at line 288 of file gui_interface.c.
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 | ||
) |
Call canvas_put_sprite callback
Definition at line 242 of file gui_interface.c.
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 | ||
) |
Call canvas_put_sprite_fogged callback
Definition at line 276 of file gui_interface.c.
void canvas_put_sprite_full | ( | struct canvas * | pcanvas, |
int | canvas_x, | ||
int | canvas_y, | ||
struct sprite * | psprite | ||
) |
Call canvas_put_sprite_full callback
Definition at line 254 of file gui_interface.c.
void canvas_put_sprite_full_scaled | ( | struct canvas * | pcanvas, |
int | canvas_x, | ||
int | canvas_y, | ||
int | canvas_w, | ||
int | canvas_h, | ||
struct sprite * | psprite | ||
) |
Call canvas_put_sprite_full_scaled callback
Definition at line 264 of file gui_interface.c.
void canvas_put_text | ( | struct canvas * | pcanvas, |
int | canvas_x, | ||
int | canvas_y, | ||
enum client_font | font, | ||
struct color * | pcolor, | ||
const char * | text | ||
) |
Call canvas_put_text callback
Definition at line 339 of file gui_interface.c.
Call canvas_set_zoom callback
Definition at line 208 of file gui_interface.c.
Call city_dialog_is_open callback
Definition at line 601 of file gui_interface.c.
Call close_connection_dialog callback
Definition at line 405 of file gui_interface.c.
Call color_alloc callback
Definition at line 176 of file gui_interface.c.
Call color_free callback
Definition at line 184 of file gui_interface.c.
Call create_sprite callback
Definition at line 140 of file gui_interface.c.
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 | ||
) |
Call crop_sprite callback
Definition at line 156 of file gui_interface.c.
Call editgui_notify_object_changed callback
Definition at line 493 of file gui_interface.c.
Call editgui_notify_object_created callback
Definition at line 485 of file gui_interface.c.
Call editgui_popdown_all callback
Definition at line 517 of file gui_interface.c.
Call editgui_popup_properties callback
Definition at line 501 of file gui_interface.c.
Call editgui_refresh callback
Definition at line 477 of file gui_interface.c.
Call editgui_tileset_changed callback
Definition at line 509 of file gui_interface.c.
Call free_sprite callback
Definition at line 168 of file gui_interface.c.
enum client_pages get_current_client_page | ( | void | ) |
Call get_current_client_page callback
Definition at line 437 of file gui_interface.c.
Return gui_funcs table. Used by gui side to get table for filling with function addresses.
Definition at line 42 of file gui_interface.c.
Referenced by setup_gui_funcs(), and setup_gui_funcs().
Call get_gui_specific_themes_directories callback
Definition at line 641 of file gui_interface.c.
Call get_gui_type callback
Definition at line 92 of file gui_interface.c.
Call get_sprite_dimensions callback
Definition at line 148 of file gui_interface.c.
Call get_text_size callback
Definition at line 330 of file gui_interface.c.
Call get_usable_themes_in_directory callback
Definition at line 649 of file gui_interface.c.
Call gui_clear_theme callback
Definition at line 633 of file gui_interface.c.
Call gui_init_meeting callback
Definition at line 657 of file gui_interface.c.
Call gui_load_theme callback
Definition at line 625 of file gui_interface.c.
Call gui_prepare_clause_updt callback
Definition at line 675 of file gui_interface.c.
Call gui_recv_accept_treaty callback
Definition at line 699 of file gui_interface.c.
void gui_recv_cancel_meeting | ( | struct Treaty * | ptreaty, |
struct player * | they, | ||
struct player * | initiator | ||
) |
Call gui_recv_cancel_meeting callback
Definition at line 666 of file gui_interface.c.
Call gui_recv_create_clause callback
Definition at line 683 of file gui_interface.c.
Call gui_recv_remove_clause callback
Definition at line 691 of file gui_interface.c.
Call gui_update_font callback
Definition at line 469 of file gui_interface.c.
Call handmade_scenario_warning callback
Definition at line 585 of file gui_interface.c.
Call has_zoom_support callback
Definition at line 216 of file gui_interface.c.
Call insert_client_build_info callback
Definition at line 100 of file gui_interface.c.
Call is_view_supported callback
Definition at line 108 of file gui_interface.c.
Call load_gfxfile callback
Definition at line 124 of file gui_interface.c.
Call load_gfxnumber callback
Definition at line 132 of file gui_interface.c.
Call map_canvas_size_refresh callback
Definition at line 349 of file gui_interface.c.
Call options_extra_init callback
Definition at line 365 of file gui_interface.c.
Call popdown_all_city_dialogs callback
Definition at line 577 of file gui_interface.c.
Call popdown_city_dialog callback
Definition at line 569 of file gui_interface.c.
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 | ||
) |
Call popup_combat_info callback
Definition at line 525 of file gui_interface.c.
Call popup_image callback
Definition at line 716 of file gui_interface.c.
Call real_city_dialog_popup callback
Definition at line 553 of file gui_interface.c.
Call real_city_dialog_refresh callback
Definition at line 561 of file gui_interface.c.
Call real_conn_list_dialog_update callback
Definition at line 397 of file gui_interface.c.
Call real_focus_units_changed callback
Definition at line 453 of file gui_interface.c.
void real_output_window_append | ( | const char * | astring, |
const struct text_tag_list * | tags, | ||
int | conn_id | ||
) |
Call real_output_window_append callback
Definition at line 82 of file gui_interface.c.
void real_set_client_page | ( | enum client_pages | page | ) |
Call real_set_client_page callback
Definition at line 429 of file gui_interface.c.
Call refresh_unit_city_dialogs callback
Definition at line 593 of file gui_interface.c.
Call remove_net_input callback
Definition at line 389 of file gui_interface.c.
void request_action_confirmation | ( | const char * | expl, |
struct act_confirmation_data * | data | ||
) |
Call request_action_confirmation callback
Definition at line 707 of file gui_interface.c.
Call request_transport callback
Definition at line 609 of file gui_interface.c.
Call server_connect callback
Definition at line 373 of file gui_interface.c.
Call set_rulesets callback
Definition at line 357 of file gui_interface.c.
Call set_unit_icon callback
Definition at line 445 of file gui_interface.c.
Call set_unit_icons_more_arrow callback
Definition at line 461 of file gui_interface.c.
Call sound_bell callback
Definition at line 421 of file gui_interface.c.
Call start_turn callback
Definition at line 545 of file gui_interface.c.
Call tileset_type_set callback
Definition at line 116 of file gui_interface.c.
Call ui_exit callback
Definition at line 66 of file gui_interface.c.
Call ui_init callback
Definition at line 50 of file gui_interface.c.
Call ui_main callback
Definition at line 58 of file gui_interface.c.
Call update_infra_dialog callback
Definition at line 617 of file gui_interface.c.
Call update_timeout_label callback
Definition at line 537 of file gui_interface.c.
Call version_message callback
Definition at line 74 of file gui_interface.c.
Definition at line 36 of file gui_interface.c.
Referenced by add_idle_callback(), add_net_input(), canvas_copy(), canvas_create(), canvas_fill_sprite_area(), canvas_free(), canvas_mapview_init(), canvas_put_curved_line(), canvas_put_line(), canvas_put_rectangle(), canvas_put_sprite(), canvas_put_sprite_fogged(), canvas_put_sprite_full(), canvas_put_sprite_full_scaled(), canvas_put_text(), canvas_set_zoom(), city_dialog_is_open(), close_connection_dialog(), color_alloc(), color_free(), create_sprite(), crop_sprite(), editgui_notify_object_changed(), editgui_notify_object_created(), editgui_popdown_all(), editgui_popup_properties(), editgui_refresh(), editgui_tileset_changed(), fc_interface_init_client(), fc_interface_init_server(), fc_interface_init_tool(), free_sprite(), get_current_client_page(), get_gui_funcs(), get_gui_specific_themes_directories(), get_gui_type(), get_sprite_dimensions(), get_text_size(), get_usable_themes_in_directory(), gui_clear_theme(), gui_init_meeting(), gui_load_theme(), gui_prepare_clause_updt(), gui_recv_accept_treaty(), gui_recv_cancel_meeting(), gui_recv_create_clause(), gui_recv_remove_clause(), gui_update_font(), handmade_scenario_warning(), has_zoom_support(), insert_client_build_info(), is_view_supported(), load_gfxfile(), load_gfxnumber(), map_canvas_size_refresh(), options_extra_init(), popdown_all_city_dialogs(), popdown_city_dialog(), popup_combat_info(), popup_image(), real_city_dialog_popup(), real_city_dialog_refresh(), real_conn_list_dialog_update(), real_focus_units_changed(), real_output_window_append(), real_set_client_page(), refresh_unit_city_dialogs(), remove_net_input(), request_action_confirmation(), request_transport(), server_connect(), set_rulesets(), set_unit_icon(), set_unit_icons_more_arrow(), setup_gui_funcs(), setup_gui_funcs(), sound_bell(), start_turn(), tileset_type_set(), ui_exit(), ui_init(), ui_main(), update_infra_dialog(), update_timeout_label(), and version_message().