#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
#define GUI_GTK_OPTION |
( |
|
optname | ) |
gui_options.gui_gtk3_22_##optname |
◆ GUI_GTK_OPTION_STR
#define GUI_GTK_OPTION_STR |
( |
|
optname | ) |
"gui_gtk3_22_" #optname |
◆ GUI_NAME_FULL
#define GUI_NAME_FULL "gui-gtk-3.22" |
◆ GUI_NAME_SHORT
#define GUI_NAME_SHORT "gtk3.22" |
◆ single_tile_pixmap
#define single_tile_pixmap (mapview.single_tile->pixmap) |
◆ enable_menus()
void enable_menus |
( |
bool |
enable | ) |
|
Enable/Disable the game page menu bar.
Definition at line 1001 of file gui_main.c.
◆ fullscreen_opt_refresh()
void fullscreen_opt_refresh |
( |
struct option * |
poption | ) |
|
Option callback for the 'fullscreen' gtk-gui option.
Definition at line 2238 of file gui_main.c.
◆ is_gui_up()
Return whether gui is currently running.
Definition at line 1864 of file gui_main.c.
◆ map_canvas_focus()
gboolean map_canvas_focus |
( |
void |
| ) |
|
◆ ntoh_str()
gchar * ntoh_str |
( |
const gchar * |
netstr | ) |
|
◆ 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 2154 of file gui_main.c.
◆ quit_gtk_main()
void quit_gtk_main |
( |
void |
| ) |
|
◆ refresh_chat_buttons()
void refresh_chat_buttons |
( |
void |
| ) |
|
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 2313 of file gui_main.c.
◆ reset_unit_table()
void reset_unit_table |
( |
void |
| ) |
|
Called when the tileset is changed to reset the unit pixmap table.
Definition at line 972 of file gui_main.c.
◆ resolution_request_get()
struct video_mode * resolution_request_get |
( |
void |
| ) |
|
Give resolution requested by user, if any.
Definition at line 2396 of file gui_main.c.
◆ screen_height()
int screen_height |
( |
void |
| ) |
|
Return height of the default screen
Return height of the primary monitor
Definition at line 2376 of file gui_main.c.
◆ screen_width()
int screen_width |
( |
void |
| ) |
|
Return width of the default screen
Return width of the primary monitor
Definition at line 2356 of file gui_main.c.
◆ update_turn_done_tooltip()
void update_turn_done_tooltip |
( |
| ) |
|
Update tooltip of the Turn Done button
Override background color for canvases Update tooltip of the Turn Done button
Definition at line 1055 of file gui_main.c.
◆ bottom_notebook
GtkWidget* bottom_notebook |
|
extern |
◆ bulb_ebox
◆ bulb_label
◆ city_names_style
PangoFontDescription* city_names_style |
|
extern |
◆ city_productions_style
PangoFontDescription* city_productions_style |
|
extern |
◆ econ_ebox
◆ econ_label
GtkWidget* econ_label[10] |
|
extern |
◆ flake_ebox
◆ flake_label
◆ government_ebox
GtkWidget* government_ebox |
|
extern |
◆ government_label
GtkWidget* government_label |
|
extern |
◆ main_frame_civ_name
GtkWidget* main_frame_civ_name |
|
extern |
◆ main_label_info
GtkWidget* main_label_info |
|
extern |
◆ main_message_area
GtkTextView* main_message_area |
|
extern |
◆ map_canvas
◆ map_horizontal_scrollbar
GtkWidget* map_horizontal_scrollbar |
|
extern |
◆ map_vertical_scrollbar
GtkWidget* map_vertical_scrollbar |
|
extern |
◆ map_widget
◆ message_buffer
GtkTextBuffer* message_buffer |
|
extern |
◆ overview_canvas
GtkWidget* overview_canvas |
|
extern |
◆ overview_canvas_store_height
int overview_canvas_store_height |
|
extern |
◆ overview_canvas_store_width
int overview_canvas_store_width |
|
extern |
◆ overview_scrolled_window
GtkWidget* overview_scrolled_window |
|
extern |
◆ reqtree_text_style
PangoFontDescription* reqtree_text_style |
|
extern |
◆ right_notebook
GtkWidget* right_notebook |
|
extern |
◆ root_window
◆ sun_ebox
◆ sun_label
◆ text_scrollbar
GtkWidget* text_scrollbar |
|
extern |
◆ timeout_label
◆ top_notebook
◆ top_vbox
◆ toplevel
◆ toplevel_tabs
◆ turn_done_button
GtkWidget* turn_done_button |
|
extern |
◆ unit_info_box
◆ unit_info_frame
GtkWidget* unit_info_frame |
|
extern |
◆ unit_info_label
GtkWidget* unit_info_label |
|
extern |