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)
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
17 #include "support.h" /* bool type */
24 #include "mapview_common.h"
29 #include "gui_proto_constructor.h"
31 GUI_FUNC_PROTO(void, update_info_label
, void)
32 GUI_FUNC_PROTO(void, update_unit_info_label
, struct unit_list
*punitlist
)
33 GUI_FUNC_PROTO(void, update_mouse_cursor
, enum cursor_type new_cursor_type
)
34 GUI_FUNC_PROTO(void, update_timeout_label
, void)
35 GUI_FUNC_PROTO(void, update_turn_done_button
, bool do_restore
)
36 GUI_FUNC_PROTO(void, update_city_descriptions
, void)
37 GUI_FUNC_PROTO(void, set_indicator_icons
, struct sprite
*bulb
, struct sprite
*sol
,
38 struct sprite
*flake
, struct sprite
*gov
)
40 GUI_FUNC_PROTO(void, overview_size_changed
, void)
41 GUI_FUNC_PROTO(void, update_overview_scroll_window_pos
, int x
, int y
)
42 GUI_FUNC_PROTO(void, get_overview_area_dimensions
, int *width
, int *height
)
43 GUI_FUNC_PROTO(struct canvas
*, get_overview_window
, void)
45 GUI_FUNC_PROTO(void, flush_mapcanvas
, int canvas_x
, int canvas_y
,
46 int pixel_width
, int pixel_height
)
47 GUI_FUNC_PROTO(void, dirty_rect
, int canvas_x
, int canvas_y
,
48 int pixel_width
, int pixel_height
)
49 GUI_FUNC_PROTO(void, dirty_all
, void)
50 GUI_FUNC_PROTO(void, flush_dirty
, void)
51 GUI_FUNC_PROTO(void, gui_flush
, void)
53 GUI_FUNC_PROTO(void, update_map_canvas_scrollbars
, void)
54 GUI_FUNC_PROTO(void, update_map_canvas_scrollbars_size
, void)
56 GUI_FUNC_PROTO(void, put_cross_overlay_tile
, struct tile
*ptile
)
58 GUI_FUNC_PROTO(void, draw_selection_rectangle
, int canvas_x
, int canvas_y
,
60 GUI_FUNC_PROTO(void, tileset_changed
, void)
62 #endif /* FC__MAPVIEW_G_H */