Freeciv-3.1
Loading...
Searching...
No Matches
Data Fields
widget Struct Reference

#include <widget.h>

Data Fields

struct widgetnext
 
struct widgetprev
 
struct gui_layerdst
 
SDL_Surfacetheme
 
SDL_Surfacetheme2
 
SDL_Surfacegfx
 
utf8_strstring_utf8
 
utf8_strinfo_label
 
union { 
 
   const struct strvec *   vector 
 
   struct container *   cont 
 
   struct city *   city 
 
   struct unit *   unit 
 
   struct player *   player 
 
   struct tile *   tile 
 
   struct widget *   widget 
 
   void *   ptr 
 
data 
 
union { 
 
   struct checkbox *   cbox 
 
   struct small_dialog *   small_dlg 
 
   struct advanced_dialog *   adv_dlg 
 
   void *   ptr 
 
private_data 
 
Uint32 state_types_flags
 
SDL_Rect size
 
SDL_Rect area
 
SDL_Keycode key
 
Uint16 mod
 
Uint16 id
 
int(* action )(struct widget *)
 
void(* set_area )(struct widget *pwidget, SDL_Rect area)
 
void(* set_position )(struct widget *pwidget, int x, int y)
 
void(* resize )(struct widget *pwidget, int w, int h)
 
void(* draw_frame )(struct widget *pwidget)
 
int(* redraw )(struct widget *pwidget)
 
void(* mark_dirty )(struct widget *pwidget)
 
void(* flush )(struct widget *pwidget)
 
void(* undraw )(struct widget *pwidget)
 
void(* select )(struct widget *pwidget)
 
void(* unselect )(struct widget *pwidget)
 
void(* press )(struct widget *pwidget)
 
void(* destroy )(struct widget *pwidget)
 

Detailed Description

Definition at line 112 of file widget.h.

Field Documentation

◆ action

int(* widget::action) (struct widget *)

Definition at line 157 of file widget.h.

Referenced by add_new_worklist_callback(), add_target_to_worklist(), combo_popup(), create_present_supported_units_widget_list(), create_tech_info(), create_tech_tree(), create_units_order_widgets(), economy_report_dialog_popup(), init_options_button(), meswin_dialog_popup(), nation_button_callback(), notify_goto_dialog_new(), notify_goto_dialog_update(), option_dialog_new(), option_dialog_optset(), option_dialog_worklist(), option_widget_new(), popup_action_selection(), popup_advanced_terrain_dialog(), popup_bribe_dialog(), popup_change_research_dialog(), popup_change_research_goal_dialog(), popup_city_cma_dialog(), popup_conn_list_dialog(), popup_connection_dialog(), popup_diplomatic_objects(), popup_find_dialog(), popup_goto_airlift_dialog(), popup_government_dialog(), popup_impr_info(), popup_incite_dialog(), popup_load_del_presets_dialog(), popup_load_game_dialog(), popup_minimap_window(), popup_newcity_dialog(), popup_notify_dialog(), popup_pillage_dialog(), popup_players_dialog(), popup_players_nations_dialog(), popup_races_dialog(), popup_sabotage_dialog(), popup_spaceship_dialog(), popup_tech_info(), popup_terrain_info_dialog(), popup_unit_disband_dlg(), popup_unit_info(), popup_unitinfo_window(), popup_worklist_editor(), real_activeunits_report_dialog_update(), real_city_dialog_popup(), real_info_city_report_dialog_update(), rebuild_imprm_list(), redraw_unit_info_label(), save_cma_callback(), science_report_dialog_popup(), sell_imprvm_dlg_callback(), set_global_worklist(), setup_vertical_scrollbar_default_callbacks(), show_main_page(), spy_steal_popup_shared(), unit_select_dialog_popup(), units_orders_city_dlg_callback(), update_goto_dialog(), update_intel_dialog(), and widget_pressed_action().

◆ adv_dlg

struct advanced_dialog* widget::adv_dlg

◆ area

SDL_Rect widget::area

Definition at line 149 of file widget.h.

Referenced by action_entry(), add_new_worklist_callback(), arrange_widgets(), convert_iconlabel_to_themeiconlabel2(), create_city_options_widget_list(), create_present_supported_units_widget_list(), create_tech_info(), create_tech_tree(), create_themelabel2(), economy_report_dialog_popup(), find_next_widget_at_pos(), group_set_area(), meswin_dialog_popup(), minimap_window_callback(), nation_button_callback(), option_dialog_optset_category(), option_dialog_worklist(), popup_action_selection(), popup_advanced_terrain_dialog(), popup_bribe_dialog(), popup_change_research_dialog(), popup_change_research_goal_dialog(), popup_city_cma_dialog(), popup_conn_list_dialog(), popup_connection_dialog(), popup_diplomacy_dialog(), popup_diplomatic_objects(), popup_find_dialog(), popup_goto_airlift_dialog(), popup_government_dialog(), popup_hurry_production_dialog(), popup_impr_info(), popup_incite_dialog(), popup_join_game_dialog(), popup_load_del_presets_dialog(), popup_load_game_dialog(), popup_minimap_window(), popup_new_user_passwd_dialog(), popup_newcity_dialog(), popup_notify_dialog(), popup_pillage_dialog(), popup_players_dialog(), popup_players_nations_dialog(), popup_races_dialog(), popup_sabotage_dialog(), popup_sell_impr_callback(), popup_spaceship_dialog(), popup_tech_info(), popup_terrain_info_dialog(), popup_unit_disband_dlg(), popup_unit_info(), popup_unit_upgrade_dlg(), popup_unitinfo_window(), popup_upgrade_unit_callback(), popup_user_passwd_dialog(), popup_war_dialog(), real_activeunits_report_dialog_update(), real_city_dialog_popup(), real_conn_list_dialog_update(), real_info_city_report_dialog_update(), real_meswin_dialog_update(), real_science_report_dialog_update(), redraw_army_city_dialog(), redraw_checkbox(), redraw_city_dialog(), redraw_happiness_city_dialog(), redraw_icon(), redraw_info_city_dialog(), redraw_label(), redraw_misc_city_dialog(), redraw_supported_units_city_dialog(), redraw_tech_tree_dlg(), redraw_unit_info_label(), redraw_window(), remove_item_from_worklist(), save_cma_callback(), science_report_dialog_popup(), sell_imprvm_dlg_callback(), set_new_minimap_window_pos(), set_new_unitinfo_window_pos(), show_main_page(), spy_steal_popup_shared(), toggle_map_window_callback(), toggle_unit_info_window_callback(), unit_select_dialog_popup(), units_orders_city_dlg_callback(), update_city_cma_dialog(), update_diplomacy_dialog(), update_goto_dialog(), update_intel_dialog(), widget_core_set_area(), and widget_set_area().

◆ cbox

struct checkbox* widget::cbox

◆ city

struct city* widget::city

◆ cont

struct container* widget::cont

Definition at line 127 of file widget.h.

Referenced by accept_treaty_callback(), action_entry(), add_global_worklist(), add_new_worklist_callback(), add_target_to_worklist(), add_to_chat_list(), add_to_gui_list(), add_widget_to_vertical_scroll_widget_list(), apply_callback(), apply_taxrates_callback(), arrange_widgets(), back_callback(), cancel_meeting_callback(), change_prod_dlg_callback(), change_research_callback(), change_research_goal_callback(), cities_action_callback(), cities_callback(), city_map_canvas_free(), close_connection_dialog(), close_game_page(), combo_new(), combo_popup(), combo_redraw(), convert_first_passwd_callback(), convert_iconlabel_to_themeiconlabel2(), convert_passwd_callback(), convert_second_passwd_callback(), correct_size_bcgnd_surf(), create_bcgnd_surf(), create_city_options_widget_list(), create_edit(), create_horizontal(), create_horizontal_scrollbar(), create_horizontal_surface(), create_icon2(), create_icon_button(), create_icon_from_theme(), create_icon_theme_surf(), create_iconlabel(), create_line_at_mouse_pos(), create_present_supported_units_widget_list(), create_tech_info(), create_tech_tree(), create_textcheckbox(), create_themeicon(), create_themeicon_button(), create_themelabel(), create_themelabel2(), create_units_order_widgets(), create_vertical(), create_vertical_scrollbar(), create_vertical_surface(), create_window(), create_window_skeleton(), del_group_of_widgets_from_gui_list(), del_gui_list(), del_widget_from_vertical_scroll_widget_list(), del_widget_pointer_from_gui_list(), disable_economy_dlg(), disable_minimap_widgets(), disable_unitinfo_widgets(), down_scroll_widget_list(), draw_edit(), draw_frame(), draw_ibutton(), draw_icon(), draw_icon_from_theme(), draw_label(), draw_selection_rectangle(), draw_tibutton(), draw_vert(), economy_report_dialog_popup(), embassy_callback(), enable_city_dlg_widgets(), enable_economy_dlg(), enable_minimap_widgets(), enable_unitinfo_widgets(), exit_find_city_dlg_callback(), find_next_widget_at_pos(), find_next_widget_for_key(), fullscreen_callback(), generate_packets.Field::get_cmp(), generate_packets.Field::get_get_real(), get_position(), generate_packets.Field::get_put_real(), get_step(), get_widget_pointer_from_id(), gold_callback(), goto_here_callback(), group_set_area(), hide_group(), init_options_button(), input_edit_conn_callback(), ld_cma_callback(), main_finger_down_handler(), main_finger_up_handler(), main_key_down_handler(), main_mouse_button_down_handler(), main_mouse_button_up_handler(), main_optiondlg_callback(), maps_callback(), meswin_dialog_is_open(), meswin_dialog_popup(), minimap_window_callback(), move_group_to_front_of_gui_list(), move_widget_to_front_of_gui_list(), move_window_group_dialog(), nation_button_callback(), ok_save_cma_callback(), ok_sell_impr_callback(), option_dialog_destroy(), option_dialog_new(), option_dialog_optset(), option_dialog_optset_category(), option_dialog_worklist(), option_widget_apply(), option_widget_new(), option_widget_update(), optiondlg_callback(), optset_category_option_count(), pact_callback(), paradrop_here_callback(), patrol_here_callback(), players_action_callback(), popdown_minimap_window(), popdown_unitinfo_window(), popdown_window_group_dialog(), popup_action_selection(), popup_advanced_terrain_dialog(), popup_bribe_dialog(), popup_change_research_dialog(), popup_change_research_dialog_callback(), popup_change_research_goal_dialog(), popup_change_research_goal_dialog_callback(), popup_city_cma_dialog(), popup_conn_list_dialog(), popup_connection_dialog(), popup_diplomacy_dialog(), popup_diplomatic_objects(), popup_find_dialog(), popup_goto_airlift_dialog(), popup_government_dialog(), popup_hurry_production_dialog(), popup_impr_info(), popup_incite_dialog(), popup_input_line(), popup_join_game_dialog(), popup_load_del_presets_dialog(), popup_load_game_dialog(), popup_minimap_window(), popup_new_user_passwd_dialog(), popup_newcity_dialog(), popup_notify_dialog(), popup_pillage_dialog(), popup_players_dialog(), popup_players_nations_dialog(), popup_races_dialog(), popup_sabotage_dialog(), popup_sell_impr_callback(), popup_spaceship_dialog(), popup_tech_info(), popup_terrain_info_dialog(), popup_unit_disband_dlg(), popup_unit_info(), popup_unit_upgrade_dlg(), popup_unitinfo_window(), popup_upgrade_unit_callback(), popup_user_passwd_dialog(), popup_war_dialog(), popup_worklist_editor(), races_toggles_set_sensitive(), real_activeunits_report_dialog_update(), real_city_dialog_popup(), real_city_report_dialog_update_city(), real_city_report_update_city(), real_conn_list_dialog_update(), real_economy_report_dialog_update(), real_info_city_report_dialog_update(), real_menus_update(), real_meswin_dialog_update(), real_output_window_append(), real_players_dialog_update(), real_science_report_dialog_update(), real_set_client_page(), real_units_report_dialog_update(), rebuild_imprm_list(), redraw_checkbox(), redraw_city_dialog(), redraw_group(), redraw_horiz(), redraw_ibutton(), redraw_icon(), redraw_icon2(), redraw_iconlabel(), redraw_impr_info_dlg(), redraw_label(), redraw_order_widgets(), redraw_tech_tree_dlg(), redraw_textcheckbox(), redraw_themelabel2(), redraw_tibutton(), redraw_unit_info_label(), redraw_vert(), redraw_widget_info_label(), redraw_window(), refresh_overview(), refresh_spaceship_dialog(), refresh_widget_background(), remake_label_size(), remove_clause_callback(), remove_clause_widget_from_list(), remove_item_from_worklist(), report_scroll_mouse_button_up(), report_scroll_mouse_motion_handler(), resize_window(), resize_window_callback(), sabotage_impr_callback(), save_client_options_callback(), save_cma_callback(), save_game_callback(), science_dialog_callback(), science_report_dialog_popup(), sell_imprvm_dlg_callback(), sell_imprvm_dlg_cancel_callback(), sell_imprvm_dlg_ok_callback(), set_cma_hscrollbars(), set_global_worklist(), set_group_state(), set_indicator_icons(), set_new_group_start_pos(), set_new_icon2_theme(), set_new_icon_theme(), set_new_minimap_window_pos(), set_new_order_widget_start_pos(), set_new_unitinfo_window_pos(), set_turn_done_button_state(), setup_vertical_scrollbar_area(), setup_vertical_scrollbar_default_callbacks(), setup_vertical_widgets_position(), show_game_page(), show_group(), show_main_page(), spy_steal_popup_shared(), style_callback(), swap_item_down_from_worklist(), techs_callback(), terrain_info_callback(), toggle_block_callback(), toggle_map_window_callback(), toggle_unit_info_window_callback(), undraw_group(), undraw_order_widgets(), unit_info_window_callback(), unit_select_dialog_popup(), units_orders_city_dlg_callback(), unselect_widget_action(), update_acceptance_icons(), update_city_cma_dialog(), update_clauses_list(), update_diplomacy_dialog(), update_goto_dialog(), update_intel_dialog(), version_message(), vertical_scroll_widget_list(), vision_callback(), widget_add_as_prev(), widget_core_flush(), widget_core_mark_dirty(), widget_core_resize(), widget_free(), widget_pressed_action(), and widget_resize().

◆ [union]

union { ... } widget::data

Referenced by accept_treaty_callback(), activate_and_exit_units_orders_city_dlg_callback(), activate_units_orders_city_dlg_callback(), add_target_to_worklist(), adv_unit_select_all_callback(), adv_unit_select_callback(), adv_unit_sentry_idle_callback(), call_meeting_dlg_callback(), cancel_meeting_callback(), cancel_pact_dlg_callback(), change_nation_label(), change_production_callback(), change_sex_callback(), cities_callback(), cma_callback(), combo_menu_callback(), combo_menu_item_callback(), combo_new(), combo_popup(), create_present_supported_units_widget_list(), disband_units_orders_city_dlg_callback(), economy_report_dialog_popup(), edit_field(), embassy_callback(), enum_widget_destroy(), exit_find_city_dlg_callback(), exit_intel_dlg_callback(), exit_space_dialog_callback(), find_city_callback(), focus_units_info_callback(), fortify_units_orders_city_dlg_callback(), gold_callback(), goto_here_callback(), homecity_units_orders_city_dlg_callback(), horiz_taxrate_callback(), hurry_production_callback(), intel_window_dlg_callback(), ld_cma_callback(), load_selected_game_callback(), maps_callback(), msg_callback(), nation_button_callback(), newcity_cancel_callback(), newcity_ok_callback(), next_name_callback(), next_set_callback(), notify_goto_dialog_callback(), notify_goto_dialog_close_callback(), notify_goto_dialog_goto_callback(), notify_goto_dialog_new(), notify_goto_dialog_update(), ok_buy_prod_city_dlg_callback(), ok_disband_unit_window_callback(), ok_save_cma_callback(), ok_sell_impr_callback(), ok_upgrade_unit_window_callback(), option_widget_apply(), pact_callback(), paradrop_here_callback(), patrol_here_callback(), pillage_callback(), player_nation_callback(), popup_advanced_terrain_dialog(), popup_buy_production_from_city_report_callback(), popup_citydlg_from_city_report_callback(), popup_connection_dialog(), popup_diplomatic_objects(), popup_impr_info(), popup_load_game_dialog(), popup_newcity_dialog(), popup_races_dialog(), popup_sell_impr_callback(), popup_spaceship_dialog(), popup_tech_info(), popup_unit_disband_dlg(), popup_unit_info(), popup_worklist_editor(), popup_worklist_from_city_report_callback(), prev_name_callback(), prev_set_callback(), races_dialog_ok_callback(), races_toggles_set_sensitive(), real_info_city_report_dialog_update(), real_players_dialog_update(), redraw_edit(), redraw_impr_info_dlg(), redraw_tech_info_dlg(), redraw_tech_tree_dlg(), redraw_unit_info_dlg(), redraw_unit_info_label(), remove_clause_callback(), remove_clause_widget_from_list(), sabotage_impr_callback(), scroll_mouse_motion_handler(), select_meta_servers_callback(), select_random_leader(), sell_imprvm_dlg_callback(), sell_imprvm_dlg_ok_callback(), sentry_units_orders_city_dlg_callback(), set_global_worklist(), show_tech_tree_callback(), spaceship_callback(), spy_steal_popup_shared(), style_callback(), techs_callback(), terrain_info_callback(), toggle_full_tree_mode_in_help_dlg_callback(), units_orders_city_dlg_callback(), update_intel_dialog(), upgrade_units_orders_city_dlg_callback(), video_mode_widget_destroy(), vision_callback(), withdraw_vision_dlg_callback(), and zoom_to_city_callback().

◆ destroy

void(* widget::destroy) (struct widget *pwidget)

Definition at line 170 of file widget.h.

Referenced by combo_new(), and option_widget_new().

◆ draw_frame

void(* widget::draw_frame) (struct widget *pwidget)

Definition at line 162 of file widget.h.

Referenced by widget_draw_frame(), and widget_new().

◆ dst

struct gui_layer* widget::dst

Definition at line 116 of file widget.h.

Referenced by action_entry(), add_global_worklist(), add_new_worklist_callback(), add_target_to_worklist(), add_to_chat_list(), buy_prod_city_dlg_callback(), combo_new(), combo_popup(), combo_redraw(), create_checkbox(), create_city_options_widget_list(), create_edit(), create_icon_button(), create_present_supported_units_widget_list(), create_tech_info(), create_tech_tree(), create_themelabel(), create_themelabel2(), create_window_skeleton(), draw_frame(), draw_horiz(), draw_icon(), economy_report_dialog_popup(), find_next_widget_at_pos(), minimap_window_callback(), move_group_to_front_of_gui_list(), move_window_motion(), nation_button_callback(), notify_goto_dialog_destroy(), notify_goto_dialog_new(), notify_goto_dialog_update(), option_dialog_new(), option_dialog_optset(), option_dialog_optset_category(), option_dialog_worklist(), option_widget_new(), popup_action_selection(), popup_advanced_terrain_dialog(), popup_bribe_dialog(), popup_change_research_dialog(), popup_change_research_goal_dialog(), popup_city_cma_dialog(), popup_conn_list_dialog(), popup_connection_dialog(), popup_diplomacy_dialog(), popup_diplomatic_objects(), popup_find_dialog(), popup_goto_airlift_dialog(), popup_government_dialog(), popup_hurry_production_dialog(), popup_impr_info(), popup_incite_dialog(), popup_join_game_dialog(), popup_load_del_presets_dialog(), popup_load_game_dialog(), popup_minimap_window(), popup_new_user_passwd_dialog(), popup_newcity_dialog(), popup_notify_dialog(), popup_pillage_dialog(), popup_players_dialog(), popup_players_nations_dialog(), popup_races_dialog(), popup_sabotage_dialog(), popup_sell_impr_callback(), popup_spaceship_dialog(), popup_tech_info(), popup_terrain_info_dialog(), popup_unit_disband_dlg(), popup_unit_info(), popup_unit_upgrade_dlg(), popup_unitinfo_window(), popup_upgrade_unit_callback(), popup_user_passwd_dialog(), popup_war_dialog(), popup_worklist_editor(), real_activeunits_report_dialog_update(), real_city_dialog_popup(), real_city_report_dialog_update_city(), real_info_city_report_dialog_update(), real_players_dialog_update(), real_science_report_dialog_update(), rebuild_imprm_list(), redraw_army_city_dialog(), redraw_checkbox(), redraw_city_dialog(), redraw_edit(), redraw_edit_chain(), redraw_happiness_city_dialog(), redraw_horiz(), redraw_icon(), redraw_icon2(), redraw_iconlabel(), redraw_impr_info_dlg(), redraw_info_city_dialog(), redraw_label(), redraw_misc_city_dialog(), redraw_supported_units_city_dialog(), redraw_tech_info_dlg(), redraw_tech_tree_dlg(), redraw_themelabel2(), redraw_unit_info_dlg(), redraw_unit_info_label(), redraw_widget_info_label(), redraw_window(), refresh_widget_background(), resize_window(), resource_map_city_dlg_callback(), save_cma_callback(), science_report_dialog_popup(), scroll_mouse_motion_handler(), scroll_mouse_motion_handler(), sell_imprvm_dlg_callback(), set_global_worklist(), show_game_page(), spy_steal_popup_shared(), toggle_map_window_callback(), toggle_unit_info_window_callback(), unit_select_dialog_popup(), units_orders_city_dlg_callback(), update_city_cma_dialog(), update_clauses_list(), update_diplomacy_dialog(), update_goto_dialog(), update_intel_dialog(), vertic_scroll_widget_list(), widget_core_flush(), widget_core_mark_dirty(), widget_core_undraw(), and window_set_position().

◆ flush

void(* widget::flush) (struct widget *pwidget)

Definition at line 165 of file widget.h.

Referenced by widget_flush(), and widget_new().

◆ gfx

SDL_Surface* widget::gfx

◆ id

Uint16 widget::id

◆ info_label

utf8_str* widget::info_label

◆ key

SDL_Keycode widget::key

◆ mark_dirty

void(* widget::mark_dirty) (struct widget *pwidget)

Definition at line 164 of file widget.h.

Referenced by widget_mark_dirty(), and widget_new().

◆ mod

Uint16 widget::mod

◆ next

struct widget* widget::next

◆ player

struct player* widget::player

◆ press

void(* widget::press) (struct widget *pwidget)

Definition at line 169 of file widget.h.

◆ prev

struct widget* widget::prev

Definition at line 114 of file widget.h.

Referenced by add_new_worklist_callback(), add_to_gui_list(), add_widget_to_vertical_scroll_widget_list(), back_callback(), convert_first_passwd_callback(), convert_second_passwd_callback(), create_horizontal_scrollbar(), create_tech_info(), create_vertical_scrollbar(), del_widget_from_vertical_scroll_widget_list(), disable_city_dlg_widgets(), disable_economy_dlg(), disable_minimap_window_buttons(), disable_science_dialog(), disable_unitinfo_widgets(), disable_unitinfo_window_buttons(), down_scroll_widget_list(), economy_report_dialog_popup(), edit_worklist_callback(), enable_city_dlg_widgets(), enable_economy_dlg(), enable_science_dialog(), enable_unitinfo_widgets(), group_set_area(), hide_minimap_window_buttons(), hide_unitinfo_window_buttons(), horiz_taxrate_callback(), inside_scroll_down_loop(), move_group_to_front_of_gui_list(), move_widget_to_front_of_gui_list(), option_dialog_optset(), option_dialog_optset_category(), option_dialog_worklist(), popup_action_selection(), popup_advanced_terrain_dialog(), popup_change_research_dialog(), popup_change_research_goal_dialog(), popup_city_cma_dialog(), popup_connection_dialog(), popup_diplomatic_objects(), popup_find_dialog(), popup_goto_airlift_dialog(), popup_impr_info(), popup_join_game_dialog(), popup_load_del_presets_dialog(), popup_load_game_dialog(), popup_new_user_passwd_dialog(), popup_notify_dialog(), popup_pillage_dialog(), popup_players_dialog(), popup_players_nations_dialog(), popup_races_dialog(), popup_sabotage_dialog(), popup_spaceship_dialog(), popup_tech_info(), popup_unit_disband_dlg(), popup_unit_info(), popup_user_passwd_dialog(), popup_worklist_editor(), real_activeunits_report_dialog_update(), real_city_report_dialog_update(), real_city_report_dialog_update_city(), real_conn_list_dialog_update(), real_economy_report_dialog_update(), real_info_city_report_dialog_update(), real_players_dialog_update(), real_science_report_dialog_update(), real_units_report_dialog_update(), rebuild_imprm_list(), redraw_impr_info_dlg(), redraw_minimap_window_buttons(), redraw_tech_info_dlg(), redraw_tech_tree_dlg(), redraw_unit_info_dlg(), redraw_unit_info_label(), refresh_spaceship_dialog(), remove_clause_widget_from_list(), report_scroll_mouse_motion_handler(), save_cma_callback(), set_cma_hscrollbars(), set_global_worklist(), set_new_minimap_window_pos(), set_new_unitinfo_window_pos(), show_main_page(), show_minimap_window_buttons(), show_tech_tree_callback(), show_unitinfo_window_buttons(), spy_steal_popup_shared(), toggle_draw_alliance_status_callback(), toggle_draw_ceasefire_status_callback(), toggle_draw_neutral_status_callback(), toggle_draw_peace_status_callback(), toggle_draw_war_status_callback(), toggle_full_tree_mode_in_help_dlg_callback(), toggle_map_window_callback(), toggle_unit_info_window_callback(), unit_select_dialog_popup(), units_orders_city_dlg_callback(), update_acceptance_icons(), update_city_cma_dialog(), update_goto_dialog(), update_intel_dialog(), and vertical_scroll_widget_list().

◆ [union]

union { ... } widget::private_data

◆ ptr

void* widget::ptr

◆ redraw

int(* widget::redraw) (struct widget *pwidget)

◆ resize

void(* widget::resize) (struct widget *pwidget, int w, int h)

Definition at line 161 of file widget.h.

Referenced by widget_new(), and widget_resize().

◆ select

void(* widget::select) (struct widget *pwidget)

Definition at line 167 of file widget.h.

Referenced by create_window_skeleton(), widget_new(), and widget_selected_action().

◆ set_area

void(* widget::set_area) (struct widget *pwidget, SDL_Rect area)

Definition at line 159 of file widget.h.

Referenced by widget_new(), and widget_set_area().

◆ set_position

void(* widget::set_position) (struct widget *pwidget, int x, int y)

Definition at line 160 of file widget.h.

Referenced by create_window_skeleton(), widget_new(), and widget_set_position().

◆ size

SDL_Rect widget::size

Definition at line 145 of file widget.h.

Referenced by add_new_worklist_callback(), add_target_to_worklist(), add_to_chat_list(), add_widget_to_vertical_scroll_widget_list(), arrange_widgets(), change_nation_label(), combo_new(), combo_popup(), combo_redraw(), create_checkbox(), create_edit(), create_horizontal_scrollbar(), create_icon_button(), create_tech_info(), create_tech_tree(), create_themelabel(), create_themelabel2(), create_window_skeleton(), del_widget_from_vertical_scroll_widget_list(), draw_edit(), draw_horiz(), draw_ibutton(), draw_icon(), draw_label(), draw_tibutton(), economy_report_dialog_popup(), edit_field(), edit_key_down(), edit_mouse_button_down(), edit_textinput(), edit_worklist_callback(), factor_horiz_cma_callback(), find_next_widget_at_pos(), get_position(), horiz_taxrate_callback(), inside_scroll_down_loop(), inside_scroll_up_loop(), meswin_dialog_popup(), min_horiz_cma_callback(), move_window_motion(), nation_button_callback(), notify_goto_dialog_update(), option_dialog_new(), option_dialog_optset(), option_dialog_worklist(), popup_action_selection(), popup_advanced_terrain_dialog(), popup_bribe_dialog(), popup_change_research_dialog(), popup_change_research_goal_dialog(), popup_city_cma_dialog(), popup_conn_list_dialog(), popup_connection_dialog(), popup_diplomatic_objects(), popup_find_dialog(), popup_goto_airlift_dialog(), popup_government_dialog(), popup_hurry_production_dialog(), popup_impr_info(), popup_incite_dialog(), popup_input_line(), popup_join_game_dialog(), popup_load_del_presets_dialog(), popup_load_game_dialog(), popup_minimap_window(), popup_new_user_passwd_dialog(), popup_newcity_dialog(), popup_notify_dialog(), popup_pillage_dialog(), popup_players_dialog(), popup_players_nations_dialog(), popup_races_dialog(), popup_sabotage_dialog(), popup_sell_impr_callback(), popup_spaceship_dialog(), popup_tech_info(), popup_terrain_info_dialog(), popup_unit_disband_dlg(), popup_unit_info(), popup_unitinfo_window(), popup_upgrade_unit_callback(), popup_user_passwd_dialog(), popup_worklist_editor(), real_activeunits_report_dialog_update(), real_city_dialog_popup(), real_info_city_report_dialog_update(), real_meswin_dialog_update(), real_players_dialog_update(), real_resize_window_callback(), rebuild_imprm_list(), redraw_checkbox(), redraw_city_dialog(), redraw_edit(), redraw_edit_chain(), redraw_happiness_city_dialog(), redraw_horiz(), redraw_icon(), redraw_icon2(), redraw_iconlabel(), redraw_impr_info_dlg(), redraw_info_city_dialog(), redraw_label(), redraw_tech_info_dlg(), redraw_tech_tree_dlg(), redraw_themelabel2(), redraw_unit_info_dlg(), redraw_unit_info_label(), redraw_widget_info_label(), redraw_window(), refresh_widget_background(), remake_label_size(), remove_clause_widget_from_list(), resize_window(), resource_map_city_dlg_callback(), save_cma_callback(), science_report_dialog_popup(), scroll_mouse_motion_handler(), scroll_mouse_motion_handler(), sell_imprvm_dlg_callback(), set_client_area(), set_global_worklist(), set_new_minimap_window_pos(), set_new_unitinfo_window_pos(), setup_vertical_scrollbar_area(), show_game_page(), show_main_page(), spy_steal_popup_shared(), toggle_map_window_callback(), toggle_unit_info_window_callback(), unit_select_dialog_popup(), units_orders_city_dlg_callback(), update_city_cma_dialog(), update_clauses_list(), update_goto_dialog(), update_intel_dialog(), vertic_scroll_widget_list(), widget_core_flush(), widget_core_mark_dirty(), widget_core_resize(), widget_core_set_position(), widget_core_undraw(), and window_set_position().

◆ small_dlg

struct small_dialog* widget::small_dlg

Definition at line 138 of file widget.h.

Referenced by popup_spaceship_dialog(), and space_dialog_window_callback().

◆ state_types_flags

Uint32 widget::state_types_flags

Definition at line 143 of file widget.h.

Referenced by get_wflags(), get_wstate(), get_wtype(), set_wstate(), and set_wtype().

◆ string_utf8

utf8_str* widget::string_utf8

Definition at line 121 of file widget.h.

Referenced by add_new_worklist_callback(), change_nation_label(), change_sex_callback(), combo_menu_item_callback(), combo_new(), combo_redraw(), convert_first_passwd_callback(), convert_passwd_callback(), convert_playername_callback(), convert_portnr_callback(), convert_second_passwd_callback(), convert_servername_callback(), create_edit(), create_icon_button(), create_tech_info(), create_themelabel(), create_themelabel2(), create_window_skeleton(), edit_field(), edit_textinput(), gold_callback(), input_edit_conn_callback(), inputline_return_callback(), leader_name_edit_callback(), msg_callback(), new_name_city_dlg_callback(), newcity_name_edit_callback(), newcity_ok_callback(), next_name_callback(), notify_goto_dialog_update(), ok_save_cma_callback(), option_dialog_worklist(), option_widget_apply(), option_widget_new(), option_widget_update(), popup_connection_dialog(), popup_diplomatic_objects(), popup_impr_info(), popup_tech_info(), popup_terrain_info_dialog(), popup_unit_info(), prev_name_callback(), races_dialog_ok_callback(), real_city_report_dialog_update_city(), real_economy_report_dialog_update(), rebuild_citydlg_title_str(), redraw_edit(), redraw_iconlabel(), redraw_label(), redraw_unit_info_label(), redraw_window(), refresh_city_names(), remake_label_size(), rename_worklist_editor_callback(), scroll_mouse_motion_handler(), select_random_leader(), set_client_area(), set_global_worklist(), show_main_page(), update_goto_dialog(), and update_worklist_report_dialog().

◆ theme

SDL_Surface* widget::theme

◆ theme2

SDL_Surface* widget::theme2

◆ tile

struct tile* widget::tile

Definition at line 131 of file widget.h.

Referenced by newcity_cancel_callback(), newcity_ok_callback(), and popup_newcity_dialog().

◆ undraw

void(* widget::undraw) (struct widget *pwidget)

Definition at line 166 of file widget.h.

Referenced by widget_new(), and widget_undraw().

◆ unit

struct unit* widget::unit

◆ unselect

void(* widget::unselect) (struct widget *pwidget)

Definition at line 168 of file widget.h.

Referenced by create_window_skeleton(), unselect_widget_action(), and widget_new().

◆ vector

const struct strvec* widget::vector

◆ widget

struct widget* widget::widget