Freeciv-3.2
|
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "fc_cmdline.h"
#include "fciconv.h"
#include "fcintl.h"
#include "log.h"
#include "mem.h"
#include "support.h"
#include "dataio.h"
#include "featured_text.h"
#include "game.h"
#include "government.h"
#include "map.h"
#include "unitlist.h"
#include "version.h"
#include "audio.h"
#include "client_main.h"
#include "climisc.h"
#include "clinet.h"
#include "colors.h"
#include "connectdlg_common.h"
#include "control.h"
#include "editor.h"
#include "options.h"
#include "text.h"
#include "tilespec.h"
#include "zoom.h"
#include "chatline.h"
#include "citizensinfo.h"
#include "connectdlg.h"
#include "cma_fe.h"
#include "dialogs.h"
#include "diplodlg.h"
#include "editgui.h"
#include "gotodlg.h"
#include "graphics.h"
#include "gui_stuff.h"
#include "happiness.h"
#include "helpdlg.h"
#include "inteldlg.h"
#include "mapctrl.h"
#include "mapview.h"
#include "menu.h"
#include "messagewin.h"
#include "optiondlg.h"
#include "pages.h"
#include "plrdlg.h"
#include "luaconsole.h"
#include "spaceshipdlg.h"
#include "repodlgs.h"
#include "voteinfo_bar.h"
#include "gui_main.h"
Go to the source code of this file.
Data Structures | |
struct | callback |
#define MIGRATE_OPTION | ( | opt | ) | gui_options.gui_gtk3_##opt = gui_options.gui_gtk2_##opt; |
#define MIGRATE_OPTION | ( | opt | ) | GUI_GTK_OPTION(opt) = gui_options.gui_gtk3_##opt; |
#define OVERVIEW_CANVAS_STORE_HEIGHT (2 * OVERVIEW_CANVAS_STORE_HEIGHT_NETBOOK) |
Definition at line 120 of file gui_main.c.
#define OVERVIEW_CANVAS_STORE_HEIGHT_NETBOOK (2 * 46) |
Definition at line 117 of file gui_main.c.
#define OVERVIEW_CANVAS_STORE_WIDTH (2 * OVERVIEW_CANVAS_STORE_WIDTH_NETBOOK) |
Definition at line 118 of file gui_main.c.
#define OVERVIEW_CANVAS_STORE_WIDTH_NETBOOK (2 * 64) |
Definition at line 116 of file gui_main.c.
Enqueue a callback to be called during an idle moment. The 'callback' function should be called sometimes soon, and passed the 'data' pointer as its data.
Definition at line 2405 of file gui_main.c.
Referenced by animation_idle_cb(), main_message_area_resize(), queue_add_callback(), real_set_client_page(), update_queue_push(), and update_queue_thaw().
This function is called after the client has successfully connected to the server
Definition at line 2293 of file gui_main.c.
Referenced by make_connection().
Make dynamic adjustments to first-launch default options.
Definition at line 2623 of file gui_main.c.
Referenced by activate_gui(), and ui_main().
|
static |
Handle a toggle of the "Allies Only" chat button.
Definition at line 2530 of file gui_main.c.
Referenced by setup_widgets().
Option callback for the 'allied_chat_only' gtk-gui option. This updates the state of the associated toggle button.
Definition at line 2418 of file gui_main.c.
Referenced by options_extra_init().
Change the city names font.
Definition at line 2445 of file gui_main.c.
Referenced by options_extra_init().
Change the city productions font.
Definition at line 2456 of file gui_main.c.
Referenced by options_extra_init().
Change the city productions font.
Definition at line 2467 of file gui_main.c.
Referenced by options_extra_init().
Creates the toggle button necessary to detach and reattach the widget and returns a vbox in which you fill your goodies.
Definition at line 845 of file gui_main.c.
Referenced by setup_widgets().
Create the container for the widget that's able to be detached
Definition at line 834 of file gui_main.c.
Referenced by setup_widgets().
Enable/Disable the game page menu bar.
Definition at line 1052 of file gui_main.c.
Referenced by real_set_client_page().
User clicked "Turn Done" button
Definition at line 2248 of file gui_main.c.
Referenced by setup_widgets().
gboolean fc_gained_focus | ( | GtkWidget * | w, |
GdkEventKey * | ev, | ||
gpointer | data | ||
) |
Freeciv window has gained focus
Definition at line 745 of file gui_main.c.
Referenced by activate_gui(), setup_dialog(), and ui_main().
gboolean fc_lost_focus | ( | GtkWidget * | w, |
GdkEventKey * | ev, | ||
gpointer | data | ||
) |
Freeciv window has lost focus
Definition at line 735 of file gui_main.c.
Referenced by activate_gui(), setup_dialog(), and ui_main().
Free unit image table.
Definition at line 995 of file gui_main.c.
Referenced by reset_unit_table(), and ui_main().
Option callback for the 'fullscreen' gtk-gui option.
Definition at line 2433 of file gui_main.c.
Referenced by full_screen_callback(), full_screen_callback(), and options_extra_init().
|
static |
g_log callback to log with freelog
Definition at line 1683 of file gui_main.c.
Referenced by g_log_writer_to_freelog_cb(), set_g_log_callback_domain(), and set_g_log_callbacks().
|
static |
g_log callback to log with freelog
Definition at line 1711 of file gui_main.c.
Referenced by set_g_log_callbacks().
Return our GUI type
Definition at line 2077 of file gui_main.c.
Referenced by client_option_next_valid(), handle_server_join_reply(), and tileset_use_preferred_theme().
|
static |
Read input from server socket
Definition at line 2257 of file gui_main.c.
Referenced by add_net_input(), and set_wait_for_writable_socket().
A wrapper for the callback called through add_idle_callback.
Definition at line 2390 of file gui_main.c.
Referenced by add_idle_callback().
Insert build information to help
Empty function required by helpdata
Definition at line 2539 of file gui_main.c.
Referenced by insert_generated_text().
Return whether gui is currently running.
Definition at line 2058 of file gui_main.c.
Referenced by show_tileset_error().
|
static |
Handle keypress events when map canvas is in focus
Definition at line 400 of file gui_main.c.
Referenced by toplevel_key_press_handler(), and toplevel_key_press_handler().
Entry point for whole freeciv client program.
Definition at line 1765 of file gui_main.c.
|
static |
When the chatline text view is resized, scroll it to the bottom. This prevents users from accidentally missing messages when the chatline gets scrolled up a small amount and stops scrolling down automatically.
Definition at line 342 of file gui_main.c.
Referenced by setup_widgets().
Focus on map canvas
Definition at line 359 of file gui_main.c.
Referenced by map_view_callback(), map_view_callback(), toplevel_key_press_handler(), and toplevel_key_press_handler().
Migrate gtk3 client specific options from gtk2 client options.
Definition at line 1773 of file gui_main.c.
Referenced by activate_gui(), and ui_main().
Migrate gtk3.22 client specific options from gtk3 client options.
Definition at line 1828 of file gui_main.c.
Referenced by activate_gui(), and ui_main().
|
static |
Return dimensions of primary monitor, if any (in 'application pixels')
Definition at line 2553 of file gui_main.c.
Referenced by screen_height(), and screen_width().
|
static |
Mouse/touchpad scrolling over the mapview
Definition at line 683 of file gui_main.c.
Referenced by setup_widgets().
Extra initializers for client options. Here we make set the callback for the specific gui-gtk-3.22 options.
Definition at line 2479 of file gui_main.c.
Search for gui-specific command-line options.
Definition at line 286 of file gui_main.c.
Referenced by gui_ui_main(), ui_main(), and ui_main().
Called to build the unit_below pixmap table. This is the table on the left of the screen that shows all of the inactive units in the current tile.
It may be called again if the tileset changes.
Definition at line 890 of file gui_main.c.
Referenced by reset_unit_table().
Popups the dialog with the message: Are you sure you want to quit?
Definition at line 2349 of file gui_main.c.
Referenced by fc_client::closeEvent(), quit_callback(), quit_callback(), quit_dialog_callback(), and mr_menu::quit_game().
Print extra usage information, including one line help on each option, to stderr.
Definition at line 265 of file gui_main.c.
Referenced by parse_options().
Propagates a keypress in a tearoff back to the toplevel window.
Definition at line 778 of file gui_main.c.
Referenced by tearoff_callback().
Popups the quit dialog.
Definition at line 2375 of file gui_main.c.
Referenced by activate_gui(), and ui_main().
This is the response callback for the dialog with the message: Are you sure you want to quit?
Definition at line 2322 of file gui_main.c.
Referenced by popup_quit_dialog().
Exit gtk main loop.
Definition at line 2337 of file gui_main.c.
Referenced by create_main_page(), and quit_dialog_response().
Called when the set of units in focus (get_units_in_focus()) changes. Standard updates like update_unit_info_label() are handled in the platform- independent code; we use this to keep the goto/airlift dialog up to date, if it's visible.
Definition at line 2149 of file gui_main.c.
Referenced by focus_units_changed().
Set the chatline buttons to reflect the state of the game and current client options. This function should be called on game start.
Definition at line 2509 of file gui_main.c.
Referenced by real_set_client_page().
This function is called if the client disconnects from the server
Definition at line 2311 of file gui_main.c.
Referenced by close_socket_nomessage().
Called when the tileset is changed to reset the unit pixmap table.
Definition at line 1023 of file gui_main.c.
Referenced by real_set_client_page(), and tileset_changed().
struct video_mode * resolution_request_get | ( | void | ) |
Give resolution requested by user, if any.
Definition at line 2611 of file gui_main.c.
Referenced by real_set_client_page().
|
static |
Workaround for a crash that occurs when a button release event is emitted for a notebook with no pages. See PR#40743. FIXME: Remove this hack once gtk_notebook_button_release() in gtk/gtknotebook.c checks for NULL notebook->cur_page.
Definition at line 1075 of file gui_main.c.
Referenced by setup_widgets().
Return height of the primary monitor
Definition at line 2593 of file gui_main.c.
Referenced by adjust_default_options(), create_main_page(), and initialize_city_dialogs().
Return width of the primary monitor
Definition at line 2575 of file gui_main.c.
|
static |
Callback for clicking a unit icon underneath unit info box. these are the units on the same tile as the focus unit.
Definition at line 2189 of file gui_main.c.
Referenced by populate_unit_image_table().
Callback for clicking a unit icon underneath unit info box. these are the units on the same tile as the focus unit.
Definition at line 2158 of file gui_main.c.
Referenced by populate_unit_image_table().
Set up g_log callback for a single domain.
Definition at line 1727 of file gui_main.c.
Referenced by set_g_log_callbacks().
Set one of the unit icons in information area based on punit. Use punit == NULL to clear icon. Index 'idx' is -1 for "active unit", or 0 to (num_units_below - 1) for units below. Also updates unit_ids[idx] for idx >= 0.
Definition at line 2096 of file gui_main.c.
Referenced by reset_unit_table(), and update_unit_pix_label().
Set the "more arrow" for the unit icons to on(1) or off(0). Maintains a static record of current state to avoid unnecessary redraws. Note initial state should match initial gui setup (off).
Definition at line 2126 of file gui_main.c.
Referenced by reset_unit_table(), and update_unit_pix_label().
|
static |
Set socket writability state
Definition at line 2268 of file gui_main.c.
Referenced by add_net_input().
Do the heavy lifting for the widget setup.
Definition at line 1127 of file gui_main.c.
Referenced by activate_gui(), and ui_main().
|
static |
Button released when showing info popup
Definition at line 2204 of file gui_main.c.
Referenced by show_info_popup().
|
static |
Callback for the toggle button in the detachable widget: causes the widget to detach or reattach.
Definition at line 789 of file gui_main.c.
Referenced by detached_widget_fill().
Reattaches the detached widget when the user destroys it.
Definition at line 755 of file gui_main.c.
Referenced by tearoff_callback().
Called while in gtk_main() (which is all of the time) TIMER_INTERVAL is now set by real_timer_callback()
Definition at line 242 of file gui_main.c.
Referenced by activate_gui(), timer_callback(), and ui_main().
|
static |
Focus on widget. Returns whether focus was really changed.
Definition at line 315 of file gui_main.c.
Referenced by activate_gui(), and ui_main().
In GTK+ keyboard events are recursively propagated from the hierarchy parent down to its children. Sometimes this is not what we want. E.g. The inputline is active, the user presses the 's' key, we want it to be sent to the inputline, but because the main menu is further up the hierarchy, it wins and the inputline never gets anything! This function ensures an entry widget (like the inputline) always gets first dibs at handling a keyboard event.
Definition at line 376 of file gui_main.c.
Referenced by ui_main().
|
static |
Handle a keyboard key press made in the client's toplevel window.
Definition at line 599 of file gui_main.c.
Referenced by setup_widgets().
|
static |
Handler for "key release" for toplevel window
Definition at line 581 of file gui_main.c.
Referenced by setup_widgets().
Do any necessary UI-specific cleanup
Definition at line 2066 of file gui_main.c.
Referenced by client_exit().
Called from client_main(), is what it's named.
Definition at line 1887 of file gui_main.c.
Referenced by client_main().
Override background color for canvases Update tooltip of the Turn Done button
Definition at line 1108 of file gui_main.c.
Referenced by set_turn_done_button_state(), and setup_widgets().
GtkWidget * ahbox |
Definition at line 140 of file gui_main.c.
Referenced by setup_widgets().
|
static |
Definition at line 179 of file gui_main.c.
Referenced by allied_chat_only_callback(), refresh_chat_buttons(), and setup_widgets().
Definition at line 188 of file gui_main.c.
Referenced by timer_callback().
GtkWidget* avbox |
Definition at line 140 of file gui_main.c.
Referenced by setup_widgets().
|
static |
Definition at line 131 of file gui_main.c.
Referenced by setup_widgets().
GtkWidget * bottom_notebook |
Definition at line 129 of file gui_main.c.
Referenced by luaconsole_dialog_create(), meswin_dialog_init(), popup_find_dialog(), popup_notify_dialog(), setup_widgets(), toplevel_key_press_handler(), and toplevel_key_press_handler().
GtkWidget* bulb_ebox |
Definition at line 156 of file gui_main.c.
Referenced by setup_widgets(), and update_info_label().
GtkWidget* bulb_label |
Definition at line 144 of file gui_main.c.
Referenced by set_indicator_icons(), setup_widgets(), and update_info_label().
PangoFontDescription* city_names_style = NULL |
Definition at line 133 of file gui_main.c.
Referenced by activate_gui(), apply_city_names_font(), and ui_main().
PangoFontDescription* city_productions_style = NULL |
Definition at line 134 of file gui_main.c.
Referenced by activate_gui(), apply_city_productions_font(), and ui_main().
Definition at line 189 of file gui_main.c.
Referenced by fc_gained_focus(), fc_gained_focus(), fc_lost_focus(), fc_lost_focus(), and timer_callback().
const char* client_string = GUI_NAME_FULL |
Definition at line 105 of file gui_main.c.
Referenced by client_main(), insert_generated_text(), intro_expose(), intro_expose(), and show_main_page().
GtkWidget * conn_box |
Definition at line 140 of file gui_main.c.
gint cur_x |
Definition at line 184 of file gui_main.c.
Referenced by mouse_scroll_mapcanvas(), and mouse_scroll_mapcanvas().
gint cur_y |
Definition at line 184 of file gui_main.c.
Referenced by mouse_scroll_mapcanvas(), and mouse_scroll_mapcanvas().
GtkWidget* econ_ebox |
Definition at line 155 of file gui_main.c.
Referenced by setup_widgets(), and update_info_label().
GtkWidget* econ_label[10] |
Definition at line 143 of file gui_main.c.
Referenced by setup_widgets(), and update_info_label().
GtkWidget* flake_ebox |
Definition at line 158 of file gui_main.c.
Referenced by setup_widgets(), and update_info_label().
GtkWidget* flake_label |
Definition at line 146 of file gui_main.c.
Referenced by set_indicator_icons(), setup_widgets(), and update_info_label().
GtkWidget* government_ebox |
Definition at line 159 of file gui_main.c.
Referenced by setup_widgets(), and update_info_label().
GtkWidget* government_label |
Definition at line 147 of file gui_main.c.
Referenced by set_indicator_icons(), setup_widgets(), and update_info_label().
Definition at line 161 of file gui_main.c.
Definition at line 186 of file gui_main.c.
Referenced by is_gui_up(), and ui_main().
Definition at line 162 of file gui_main.c.
GtkWidget* main_frame_civ_name |
Definition at line 137 of file gui_main.c.
Referenced by setup_widgets(), and update_info_label().
GtkWidget* main_label_info |
Definition at line 138 of file gui_main.c.
Referenced by setup_widgets(), and update_info_label().
|
static |
Definition at line 164 of file gui_main.c.
Referenced by enable_menus().
GtkTextView* main_message_area |
Definition at line 177 of file gui_main.c.
Referenced by chatline_is_scrolled_to_bottom(), chatline_scroll_to_bottom(), key_press_map_canvas(), key_press_map_canvas(), main_message_area_resize(), real_output_window_append(), and setup_widgets().
GtkWidget* map_canvas |
Definition at line 107 of file gui_main.c.
Referenced by butt_down_mapcanvas(), create_line_at_mouse_pos(), dirty_all(), dirty_rect(), draw_selection_rectangle(), event_after(), event_after(), flush_dirty(), left_butt_down_mapcanvas(), map_canvas_focus(), middle_butt_down_mapcanvas(), mouse_scroll_mapcanvas(), mouse_scroll_mapcanvas(), move_mapcanvas(), move_mapcanvas(), popit(), popupinfo_positioning_callback(), put_cross_overlay_tile(), right_butt_down_mapcanvas(), setup_widgets(), and update_rect_at_mouse_pos().
GtkWidget* map_horizontal_scrollbar |
Definition at line 108 of file gui_main.c.
Referenced by setup_widgets(), and update_map_canvas_scrollbars_size().
GtkWidget* map_vertical_scrollbar |
Definition at line 109 of file gui_main.c.
Referenced by setup_widgets(), and update_map_canvas_scrollbars_size().
GtkWidget* map_widget |
Definition at line 130 of file gui_main.c.
Referenced by leave_mapcanvas(), and setup_widgets().
GtkTextBuffer* message_buffer = NULL |
Definition at line 178 of file gui_main.c.
Referenced by chatline_scroll_to_bottom(), create_start_page(), log_output_window(), real_output_window_append(), set_output_window_text(), setup_widgets(), ui_exit(), and ui_main().
|
static |
Definition at line 170 of file gui_main.c.
Referenced by free_unit_table(), and populate_unit_image_table().
|
static |
Definition at line 171 of file gui_main.c.
Referenced by free_unit_table(), populate_unit_image_table(), reset_unit_table(), and set_unit_icons_more_arrow().
|
static |
Definition at line 172 of file gui_main.c.
Referenced by free_unit_table(), and populate_unit_image_table().
GtkWidget* overview_canvas |
Definition at line 111 of file gui_main.c.
Referenced by create_line_at_mouse_pos(), get_overview_window(), overview_size_changed(), refresh_overview(), setup_widgets(), and update_map_canvas_scrollbars().
int overview_canvas_store_height = OVERVIEW_CANVAS_STORE_HEIGHT |
Definition at line 123 of file gui_main.c.
Referenced by setup_widgets(), and update_overview_scroll_window_pos().
int overview_canvas_store_width = OVERVIEW_CANVAS_STORE_WIDTH |
Definition at line 122 of file gui_main.c.
Referenced by populate_unit_image_table(), populate_unit_pic_table(), setup_widgets(), and update_overview_scroll_window_pos().
GtkWidget* overview_scrolled_window |
Definition at line 112 of file gui_main.c.
Referenced by setup_widgets(), and update_overview_scroll_window_pos().
PangoFontDescription* reqtree_text_style = NULL |
Definition at line 135 of file gui_main.c.
Referenced by activate_gui(), apply_reqtree_text_font(), and ui_main().
GtkWidget * right_notebook |
Definition at line 129 of file gui_main.c.
Referenced by luaconsole_dialog_create(), meswin_dialog_init(), and setup_widgets().
GdkWindow* root_window |
Definition at line 126 of file gui_main.c.
Referenced by anim_cursor_cb(), remove_net_input(), and ui_main().
GtkWidget* scroll_panel |
Definition at line 141 of file gui_main.c.
|
static |
Definition at line 182 of file gui_main.c.
Referenced by add_net_input(), remove_net_input(), and set_wait_for_writable_socket().
|
static |
Definition at line 183 of file gui_main.c.
Referenced by add_net_input(), remove_net_input(), and set_wait_for_writable_socket().
GtkWidget* sun_ebox |
Definition at line 157 of file gui_main.c.
Referenced by setup_widgets(), and update_info_label().
GtkWidget* sun_label |
Definition at line 145 of file gui_main.c.
Referenced by set_indicator_icons(), setup_widgets(), and update_info_label().
GtkWidget* timeout_label |
Definition at line 148 of file gui_main.c.
Referenced by setup_widgets(), and update_timeout_label().
|
static |
Definition at line 181 of file gui_main.c.
Referenced by activate_gui(), timer_callback(), and ui_main().
GtkWidget* top_notebook |
Definition at line 129 of file gui_main.c.
Referenced by create_city_report_dialog(), create_messageopt_dialog(), create_players_dialog(), create_spaceship_dialog(), diplomacy_main_create(), economy_report_init(), endgame_report_init(), gui_dialog_new(), leave_mapcanvas(), map_canvas_focus(), science_report_init(), setup_widgets(), toplevel_key_press_handler(), toplevel_key_press_handler(), and units_report_init().
GtkWidget* top_vbox |
Definition at line 128 of file gui_main.c.
Referenced by enable_menus(), setup_widgets(), toplevel_key_press_handler(), toplevel_key_press_handler(), and toplevel_key_release_handler().
GtkWidget* toplevel |
Definition at line 125 of file gui_main.c.
Referenced by activate_gui(), anim_cursor_cb(), choice_dialog_start(), confirm_cancel_pact(), create_advances_list(), create_city_dialog(), create_city_info_table(), create_goto_dialog(), create_help_dialog(), create_improvements_list(), create_intel_dialog(), create_intel_wonder_dialog(), create_line_at_mouse_pos(), create_multiplier_dialog(), create_races_dialog(), create_rates_dialog(), create_tool_value_selector(), create_worklists_report(), detached_widget_fill(), dlg_tab_provider_prepare(), enable_menus(), fullscreen_opt_refresh(), get_text_size(), gui_clear_theme(), gui_dialog_detach(), gui_dialog_new(), gui_load_theme(), gui_update_font(), infra_dialog_popup(), leave_callback(), leave_callback(), luaconsole_load_file_popup(), main(), map_canvas_focus(), modinst_setup_widgets(), option_color_select_callback(), option_dialog_new(), popit(), popup_action_selection(), popup_bribe_dialog(), popup_connect_msg(), popup_disband_dialog(), popup_help_dialog_typed(), popup_incite_dialog(), popup_newcity_dialog(), popup_notify_goto_dialog(), popup_quit_dialog(), popup_revolution_dialog(), popup_soundset_suggestion_dialog(), popup_tileset_suggestion_dialog(), popup_upgrade_dialog(), popup_workertask_dlg(), propagate_keypress(), property_editor_new(), rally_dialog_popup(), real_set_client_page(), remove_net_input(), request_action_confirmation(), save_dialog_file_chooser_popup(), save_dialog_new(), select_color_callback(), select_color_callback(), select_tgt_extra(), select_tgt_unit(), setup_widgets(), show_conn_popup(), show_info_popup(), show_tileset_error(), surface_put_text(), tearoff_callback(), tileset_changed(), toplevel_handler(), try_to_set_editor_tool(), ui_main(), update_rect_at_mouse_pos(), update_turn_done_button(), and usdlg_create().
GtkWidget* toplevel_tabs |
Definition at line 127 of file gui_main.c.
Referenced by real_set_client_page(), setup_widgets(), and ui_main().
GtkWidget* turn_done_button |
Definition at line 149 of file gui_main.c.
Referenced by end_turn_callback(), set_turn_done_button_state(), setup_widgets(), update_turn_done_button(), and update_turn_done_tooltip().
|
static |
Definition at line 168 of file gui_main.c.
Referenced by free_unit_table(), populate_unit_image_table(), and set_unit_icon().
|
static |
Definition at line 169 of file gui_main.c.
Referenced by free_unit_table(), and populate_unit_image_table().
|
static |
Definition at line 174 of file gui_main.c.
Referenced by select_more_arrow_callback(), select_more_arrow_pixmap_callback(), select_unit_image_callback(), select_unit_pic_callback(), and set_unit_icon().
|
static |
Definition at line 175 of file gui_main.c.
Referenced by select_unit_image_callback(), select_unit_pic_callback(), and set_unit_icon().
|
static |
Definition at line 166 of file gui_main.c.
Referenced by free_unit_table(), populate_unit_image_table(), and set_unit_icon().
|
static |
Definition at line 167 of file gui_main.c.
Referenced by free_unit_table(), and populate_unit_image_table().
|
static |
Definition at line 165 of file gui_main.c.
Referenced by free_unit_table(), populate_unit_image_table(), and setup_widgets().
GtkWidget* unit_info_box |
Definition at line 152 of file gui_main.c.
Referenced by editinfobox_refresh(), setup_widgets(), and ui_main().
GtkWidget* unit_info_frame |
Definition at line 153 of file gui_main.c.
Referenced by setup_widgets(), and update_unit_info_label().
GtkWidget* unit_info_label |
Definition at line 151 of file gui_main.c.
Referenced by popup_unit_info(), setup_widgets(), and update_unit_info_label().
|
static |
Definition at line 191 of file gui_main.c.
Referenced by activate_gui(), parse_options(), real_set_client_page(), resolution_request_get(), screen_height(), screen_width(), and ui_main().