Freeciv-3.2
|
Go to the source code of this file.
Macros | |
#define | GUI_NAME_FULL "gui-gtk-3.22" |
#define | GUI_NAME_SHORT "gtk3.22" |
#define | GUI_GTK_OPTION(optname) gui_options.gui_gtk3_22_##optname |
#define | GUI_GTK_OPTION_STR(optname) "gui_gtk3_22_" #optname |
#define | GUI_GTK_DEFAULT_THEME_NAME FC_GTK3_22_DEFAULT_THEME_NAME |
#define | single_tile_pixmap (mapview.single_tile->pixmap) |
Functions | |
gchar * | ntoh_str (const gchar *netstr) |
void | enable_menus (bool enable) |
gboolean | map_canvas_focus (void) |
void | reset_unit_table (void) |
void | popup_quit_dialog (void) |
void | quit_gtk_main (void) |
void | refresh_chat_buttons (void) |
int | screen_width (void) |
int | screen_height (void) |
struct video_mode * | resolution_request_get (void) |
void | fullscreen_opt_refresh (struct option *poption) |
bool | is_gui_up (void) |
gboolean | fc_lost_focus (GtkWidget *w, GdkEventKey *ev, gpointer data) |
gboolean | fc_gained_focus (GtkWidget *w, GdkEventKey *ev, gpointer data) |
void | update_turn_done_tooltip (void) |
#define GUI_GTK_DEFAULT_THEME_NAME FC_GTK3_22_DEFAULT_THEME_NAME |
Definition at line 27 of file gui_main.h.
#define GUI_GTK_OPTION | ( | optname | ) | gui_options.gui_gtk3_22_##optname |
Definition at line 25 of file gui_main.h.
Definition at line 26 of file gui_main.h.
Definition at line 22 of file gui_main.h.
#define GUI_NAME_SHORT "gtk3.22" |
Definition at line 23 of file gui_main.h.
#define single_tile_pixmap (mapview.single_tile->pixmap) |
Definition at line 36 of file gui_main.h.
Enable/Disable the game page menu bar.
Definition at line 1052 of file gui_main.c.
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().
Option callback for the 'fullscreen' gtk-gui option.
Definition at line 2433 of file gui_main.c.
Return whether gui is currently running.
Definition at line 2058 of file gui_main.c.
Focus on map canvas
Definition at line 359 of file gui_main.c.
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 2349 of file gui_main.c.
Exit gtk main loop.
Definition at line 2337 of file gui_main.c.
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.
Called when the tileset is changed to reset the unit pixmap table.
Definition at line 1023 of file gui_main.c.
struct video_mode * resolution_request_get | ( | void | ) |
Give resolution requested by user, if any.
Definition at line 2611 of file gui_main.c.
Return height of the primary monitor
Definition at line 2593 of file gui_main.c.
Return width of the primary monitor
Definition at line 2575 of file gui_main.c.
Override background color for canvases Update tooltip of the Turn Done button
Update tooltip of the Turn Done button
Definition at line 1108 of file gui_main.c.
|
extern |
Definition at line 129 of file gui_main.c.
|
extern |
Definition at line 156 of file gui_main.c.
Referenced by setup_widgets(), and update_info_label().
|
extern |
Definition at line 144 of file gui_main.c.
|
extern |
Definition at line 133 of file gui_main.c.
|
extern |
Definition at line 134 of file gui_main.c.
|
extern |
Definition at line 155 of file gui_main.c.
Referenced by setup_widgets(), and update_info_label().
|
extern |
Definition at line 143 of file gui_main.c.
|
extern |
Definition at line 158 of file gui_main.c.
Referenced by setup_widgets(), and update_info_label().
|
extern |
Definition at line 146 of file gui_main.c.
|
extern |
Definition at line 159 of file gui_main.c.
Referenced by setup_widgets(), and update_info_label().
|
extern |
Definition at line 147 of file gui_main.c.
|
extern |
Definition at line 137 of file gui_main.c.
|
extern |
Definition at line 138 of file gui_main.c.
|
extern |
Definition at line 177 of file gui_main.c.
|
extern |
Definition at line 107 of file gui_main.c.
|
extern |
Definition at line 108 of file gui_main.c.
|
extern |
Definition at line 109 of file gui_main.c.
|
extern |
Definition at line 130 of file gui_main.c.
|
extern |
Definition at line 178 of file gui_main.c.
|
extern |
Definition at line 111 of file gui_main.c.
|
extern |
Definition at line 123 of file gui_main.c.
|
extern |
Definition at line 122 of file gui_main.c.
|
extern |
Definition at line 112 of file gui_main.c.
|
extern |
Definition at line 135 of file gui_main.c.
|
extern |
Definition at line 129 of file gui_main.c.
|
extern |
Definition at line 126 of file gui_main.c.
Referenced by anim_cursor_cb(), remove_net_input(), and ui_main().
|
extern |
Definition at line 157 of file gui_main.c.
Referenced by setup_widgets(), and update_info_label().
|
extern |
Definition at line 145 of file gui_main.c.
|
extern |
|
extern |
Definition at line 148 of file gui_main.c.
|
extern |
Definition at line 129 of file gui_main.c.
|
extern |
Definition at line 128 of file gui_main.c.
|
extern |
Definition at line 125 of file gui_main.c.
|
extern |
Definition at line 127 of file gui_main.c.
|
extern |
Definition at line 149 of file gui_main.c.
|
extern |
Definition at line 152 of file gui_main.c.
|
extern |
Definition at line 153 of file gui_main.c.
|
extern |
Definition at line 151 of file gui_main.c.