Freeciv-3.2
Loading...
Searching...
No Matches
mapview_g.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__MAPVIEW_G_H
14#define FC__MAPVIEW_G_H
15
16/* utility */
17#include "support.h" /* bool type */
18
19/* common */
20#include "fc_types.h"
21#include "unitlist.h"
22
23/* client */
24#include "mapview_common.h"
25
26/* client/include */
27#include "canvas_g.h"
28
30
32GUI_FUNC_PROTO(void, update_unit_info_label, struct unit_list *punitlist)
39
40GUI_FUNC_PROTO(void, start_turn, void)
41
46
49GUI_FUNC_PROTO(void, dirty_all, void)
50GUI_FUNC_PROTO(void, flush_dirty, void)
51GUI_FUNC_PROTO(void, gui_flush, void)
52
55
57
59
61 int w, int h)
63
64#endif /* FC__MAPVIEW_G_H */
struct canvas int int struct sprite int int int int height
Definition canvas_g.h:44
struct canvas int int struct sprite int int int width
Definition canvas_g.h:44
char * incite_cost
Definition comments.c:75
void update_timeout_label(void)
Definition mapview.c:118
void flush_dirty(void)
Definition mapview.c:468
void update_info_label(void)
Definition mapview.c:138
void update_turn_done_button(bool do_restore)
Definition mapview.c:76
void dirty_all(void)
Definition mapview.c:456
void tileset_changed(void)
Definition mapview.c:782
void put_cross_overlay_tile(struct tile *ptile)
Definition mapview.c:643
void draw_selection_rectangle(int canvas_x, int canvas_y, int w, int h)
Definition mapview.c:749
void update_map_canvas_scrollbars_size(void)
Definition mapview.c:696
void get_overview_area_dimensions(int *width, int *height)
Definition mapview.c:317
void start_turn(void)
Definition mapview.c:805
void update_unit_info_label(struct unit_list *punits)
Definition mapview.c:275
void update_overview_scroll_window_pos(int x, int y)
Definition mapview.c:657
void update_city_descriptions(void)
Definition mapview.c:488
void gui_flush(void)
Definition mapview.c:480
void update_map_canvas_scrollbars(void)
Definition mapview.c:681
void overview_size_changed(void)
Definition mapview.c:326
void map_canvas_size_refresh(void)
Definition mapview.c:414
struct canvas * get_overview_window(void)
Definition mapview.c:337
void update_mouse_cursor(enum cursor_type new_cursor_type)
Definition mapview.c:257
void set_indicator_icons(struct sprite *bulb, struct sprite *sol, struct sprite *flake, struct sprite *gov)
Definition mapview.c:302
#define GUI_FUNC_PROTO(_type, _func,...)
int canvas_x
Definition mapview_g.h:47
dirty_rect
Definition mapview_g.h:47
int int canvas_y
Definition mapview_g.h:47
int int int pixel_width
Definition mapview_g.h:48
struct sprite int int y
Definition sprite_g.h:31
struct sprite int x
Definition sprite_g.h:31
Definition tile.h:50
cursor_type
Definition tilespec.h:287