Freeciv-3.2
|
Go to the source code of this file.
Macros | |
#define | OVERVIEW_TILE_WIDTH ((MAP_IS_ISOMETRIC ? 2 : 1) * OVERVIEW_TILE_SIZE) |
#define | OVERVIEW_TILE_HEIGHT OVERVIEW_TILE_SIZE |
Variables | |
int | OVERVIEW_TILE_SIZE |
#define OVERVIEW_TILE_HEIGHT OVERVIEW_TILE_SIZE |
Definition at line 33 of file overview_common.h.
#define OVERVIEW_TILE_WIDTH ((MAP_IS_ISOMETRIC ? 2 : 1) * OVERVIEW_TILE_SIZE) |
Definition at line 32 of file overview_common.h.
Called if the map size is know or changes.
Definition at line 449 of file overview_common.c.
Referenced by handle_map_info().
Center the overview around the mapview.
Definition at line 288 of file overview_common.c.
Referenced by base_set_mapview_origin(), and map_canvas_resized().
Redraw the overview if it is "dirty".
Definition at line 262 of file overview_common.c.
Referenced by unqueue_mapview_updates().
Finds the overview (canvas) coordinates for a given map position.
Definition at line 323 of file overview_common.c.
Free overview resources.
Definition at line 510 of file overview_common.c.
Referenced by client_exit().
Callback to be called when an overview option is changed.
Definition at line 523 of file overview_common.c.
Finds the map coordinates for a given overview (canvas) position.
Definition at line 357 of file overview_common.c.
Referenced by butt_down_overviewcanvas(), left_butt_down_overviewcanvas(), minimap_window_callback(), minimap_view::mousePressEvent(), overview_update_line(), and right_butt_down_overviewcanvas().
Redraw the given map position in the overview canvas.
Definition at line 410 of file overview_common.c.
Referenced by refresh_overview_canvas(), and unqueue_mapview_updates().
Redraw the entire backing store for the overview minimap.
Definition at line 376 of file overview_common.c.
Referenced by calculate_overview_dimensions(), overview_redraw_callback(), request_toggle_fog_of_war(), set_client_state(), and unqueue_mapview_updates().
Copies the current centred image + viewrect unchanged to the client's overview window (for expose events etc).
Definition at line 186 of file overview_common.c.
Referenced by redraw_overview().
|
extern |
Definition at line 33 of file overview_common.c.
Referenced by calculate_overview_dimensions(), get_overview_area_dimensions(), gui_to_overview(), gui_to_overview_pos(), map_to_overview_pos(), overview_to_map_pos(), overview_update_tile(), and redraw_overview().