95 "color: rgba(235, 127, 235, 255);\n"
96 "background-color: rgba(127, 127, 127, 255);\n"
127 _(
"Time to forced turn change,\n"
128 "or estimated time to finish turn change "
132 _(
"Turn timeout disabled.\n"
133 "Between turns this shows estimated time "
134 "to finish turn change processing."));
147 if (pplayer !=
NULL) {
195 if (
NULL != pplayer) {
211 for (; d < 10; d++) {
222 _(
"Shows your current luxury/science/tax rates; "
223 "click to toggle them."));
343 static struct canvas store;
573 const double bright = 0.65;
590 fogcol->color.alpha = 0.0;
757 if (w == 0 || h == 0) {
788#ifndef FREECIV_MSWINDOWS
struct canvas int int struct sprite int int int int height
struct canvas int int int int struct sprite *sprite struct canvas struct color * pcolor
struct canvas int int canvas_y
struct canvas int canvas_x
struct canvas int int int int struct sprite *sprite struct canvas struct color int int int int height canvas_put_line
struct canvas int int struct sprite int int int width
bool client_is_observer(void)
bool can_client_change_view(void)
struct sprite * client_warming_sprite(void)
struct sprite * client_cooling_sprite(void)
struct sprite * client_research_sprite(void)
struct sprite * client_government_sprite(void)
struct color * get_color(const struct tileset *t, enum color_std stdcolor)
void update_unit_pix_label(struct unit_list *punitlist)
void control_mouse_cursor(struct tile *ptile)
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit * punit
bool get_turn_done_button_state()
int current_turn_timeout(void)
#define FC_STATIC_CANVAS_INIT
void reset_city_dialogs(void)
struct color * color_alloc(int r, int g, int b)
void color_free(struct color *color)
void editgui_tileset_changed(void)
static GtkWidget * source
GdkCursor * fc_cursors[CURSOR_LAST][NUM_CURSOR_FRAMES]
GtkWidget * map_vertical_scrollbar
GtkWidget * main_label_info
GtkWidget * unit_info_label
GtkWidget * timeout_label
GtkWidget * overview_scrolled_window
GtkWidget * government_label
GtkWidget * turn_done_button
void reset_unit_table(void)
GtkWidget * unit_info_frame
GtkWidget * overview_canvas
GtkWidget * map_horizontal_scrollbar
GtkWidget * econ_label[10]
int overview_canvas_store_width
int overview_canvas_store_height
GtkWidget * main_frame_civ_name
#define GUI_GTK_OPTION(optname)
void update_timeout_label(void)
void update_info_label(void)
void update_turn_done_button(bool do_restore)
void scrollbar_jump_callback(GtkAdjustment *adj, gpointer hscrollbar)
void tileset_changed(void)
void put_cross_overlay_tile(struct tile *ptile)
void draw_selection_rectangle(int canvas_x, int canvas_y, int w, int h)
void update_map_canvas_scrollbars_size(void)
void get_overview_area_dimensions(int *width, int *height)
void mapview_freeze(void)
GdkPixbuf * get_thumb_pixbuf(int onoff)
void update_unit_info_label(struct unit_list *punits)
void update_overview_scroll_window_pos(int x, int y)
void update_city_descriptions(void)
gboolean map_canvas_draw(GtkWidget *w, cairo_t *cr, gpointer data)
void pixmap_put_overlay_tile(GdkWindow *pixmap, float zoom, int canvas_x, int canvas_y, struct sprite *ssprite)
void pixmap_put_overlay_tile_draw(struct canvas *pcanvas, int canvas_x, int canvas_y, struct sprite *ssprite, bool fog)
void update_map_canvas_scrollbars(void)
bool mapview_is_frozen(void)
static gboolean anim_cursor_cb(gpointer data)
void overview_size_changed(void)
void map_canvas_size_refresh(void)
static int cursor_timer_id
static GtkAdjustment * map_vadj
static int mapview_frozen_level
struct canvas * get_overview_window(void)
void update_mouse_cursor(enum cursor_type new_cursor_type)
static GtkAdjustment * map_hadj
void set_indicator_icons(struct sprite *bulb, struct sprite *sol, struct sprite *flake, struct sprite *gov)
gboolean overview_canvas_draw(GtkWidget *w, cairo_t *cr, gpointer data)
void science_report_dialog_redraw(void)
void free_sprite(struct sprite *s)
struct sprite * create_sprite(int width, int height, struct color *pcolor)
GdkPixbuf * sprite_get_pixbuf(struct sprite *sprite)
void blank_max_unit_size(void)
static int mc_actual_width
static int mc_actual_height
void map_canvas_resize(GtkWidget *w, int width, int height, gpointer data)
void put_unit_picture_city_overlays(struct unit *punit, GtkPicture *p, int height, int *upkeep_cost, int happy_cost)
void put_unit_picture(struct unit *punit, GtkPicture *p, int height)
void picture_set_from_surface(GtkPicture *pic, cairo_surface_t *surf)
#define fc_assert(condition)
const char * get_timeout_label_text()
void update_map_canvas_visible(void)
void put_unit(const struct unit *punit, struct canvas *pcanvas, float zoom, int canvas_x, int canvas_y)
void get_mapview_scroll_pos(int *scroll_x, int *scroll_y)
void get_mapview_scroll_window(float *xmin, float *ymin, float *xmax, float *ymax, int *xsize, int *ysize)
void unqueue_mapview_updates(bool write_to_screen)
void get_mapview_scroll_step(int *xstep, int *ystep)
void set_mapview_scroll_pos(int scroll_x, int scroll_y, float zoom)
void put_unit_city_overlays(struct unit *punit, struct canvas *pcanvas, int canvas_x, int canvas_y, int *upkeep_cost, int happy_cost)
bool map_canvas_resized(int width, int height)
bool tile_to_canvas_pos(float *canvas_x, float *canvas_y, float zoom, const struct tile *ptile)
const char * nation_plural_for_player(const struct player *pplayer)
struct client_options gui_options
#define GUI_GTK_OVERVIEW_MIN_XSIZE
#define GUI_GTK_OVERVIEW_MIN_YSIZE
const char * get_government_tooltip(void)
const char * get_nuclear_winter_tooltip(void)
const char * get_bulb_tooltip(void)
const char * get_info_label_text(bool)
const char * get_global_warming_tooltip(void)
struct sprite int int int int struct sprite int int float bool smooth get_sprite_dimensions
cairo_surface_t * surface
struct player_economic economic
struct nation_type * nation
cairo_surface_t * surface
static bool is_bigendian(void)
#define sz_strlcat(dest, src)
const char * get_unit_info_label_text2(struct unit_list *punits, int linebreaks)
const char * get_unit_info_label_text1(struct unit_list *punits)
struct sprite * get_attention_crosshair_sprite(const struct tileset *t)
int tileset_full_tile_height(const struct tileset *t)
int tileset_unit_layout_offset_y(const struct tileset *t)
struct sprite * get_treaty_thumb_sprite(const struct tileset *t, bool on_off)
int tileset_full_tile_width(const struct tileset *t)
struct sprite * get_tax_sprite(const struct tileset *t, Output_type_id otype)
#define NUM_CURSOR_FRAMES