#include <gtk/gtk.h>
#include "gui_main_g.h"
#include "options.h"
Go to the source code of this file.
◆ GUI_GTK_DEFAULT_THEME_NAME
◆ GUI_GTK_OPTION
◆ GUI_GTK_OPTION_STR
◆ GUI_NAME_FULL
◆ GUI_NAME_SHORT
◆ single_tile_pixmap
◆ animation_idle_cb()
Add idle callback for updating animations.
Definition at line 2429 of file gui_main.c.
◆ fc_gained_focus()
Freeciv window has gained focus
Definition at line 754 of file gui_main.c.
◆ fc_lost_focus()
Freeciv window has lost focus
Definition at line 743 of file gui_main.c.
◆ fullscreen_opt_refresh()
Option callback for the 'fullscreen' gtk-gui option.
Definition at line 2434 of file gui_main.c.
◆ gui_app()
Return the client GtkApplication
Definition at line 2674 of file gui_main.c.
◆ is_gui_up()
Return whether gui is currently running.
Definition at line 2059 of file gui_main.c.
◆ main_message_area_resize()
void main_message_area_resize |
( |
void * |
data | ) |
|
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 360 of file gui_main.c.
◆ map_canvas_focus()
◆ ntoh_str()
◆ popup_quit_dialog()
void popup_quit_dialog |
( |
| ) |
|
Popups the dialog with the message: Are you sure you want to quit?
Open dialog to confirm that user wants to quit client.
Definition at line 2350 of file gui_main.c.
◆ quit_gtk_main()
◆ refresh_chat_buttons()
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 2510 of file gui_main.c.
◆ reset_unit_table()
Called when the tileset is changed to reset the unit pixmap table.
Definition at line 1024 of file gui_main.c.
◆ resolution_request_get()
Give resolution requested by user, if any.
Definition at line 2612 of file gui_main.c.
◆ screen_height()
Return height of the primary monitor
Definition at line 2594 of file gui_main.c.
◆ screen_width()
Return width of the primary monitor
Definition at line 2576 of file gui_main.c.
◆ terminate_signal_processing()
Override background color for canvases Callback that just returns TRUE.
Definition at line 1043 of file gui_main.c.
◆ update_turn_done_tooltip()
void update_turn_done_tooltip |
( |
| ) |
|
Override background color for canvases Update tooltip of the Turn Done button
Update tooltip of the Turn Done button
Definition at line 1109 of file gui_main.c.
◆ bottom_notebook
◆ bulb_label
◆ city_names_style
◆ city_productions_style
◆ econ_label
◆ econ_widget
◆ flake_label
◆ government_label
◆ main_frame_civ_name
◆ main_label_info
◆ main_message_area
◆ map_canvas
◆ map_horizontal_scrollbar
◆ map_vertical_scrollbar
◆ map_widget
◆ message_buffer
◆ overview_canvas
◆ overview_canvas_store_height
int overview_canvas_store_height |
|
extern |
◆ overview_canvas_store_width
int overview_canvas_store_width |
|
extern |
◆ overview_scrolled_window
◆ reqtree_text_style
◆ right_notebook
◆ sun_label
◆ text_scrollbar
◆ timeout_label
◆ top_notebook
◆ top_vbox
◆ toplevel
◆ toplevel_tabs
◆ turn_done_button
◆ unit_info_box
◆ unit_info_frame
◆ unit_info_label