Freeciv-3.1
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)
33GUI_FUNC_PROTO(void, update_mouse_cursor, enum cursor_type new_cursor_type)
35GUI_FUNC_PROTO(void, update_turn_done_button, bool do_restore)
37GUI_FUNC_PROTO(void, set_indicator_icons, struct sprite *bulb, struct sprite *sol,
38 struct sprite *flake, struct sprite *gov)
39
40GUI_FUNC_PROTO(void, start_turn, void)
41
46
48 int pixel_width, int pixel_height)
49GUI_FUNC_PROTO(void, dirty_all, void)
50GUI_FUNC_PROTO(void, flush_dirty, void)
51GUI_FUNC_PROTO(void, gui_flush, void)
52
55
57
58GUI_FUNC_PROTO(void, put_cross_overlay_tile, struct tile *ptile)
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
void update_timeout_label(void)
Definition mapview.c:101
void flush_dirty(void)
Definition mapview.c:450
void update_info_label(void)
Definition mapview.c:121
void update_turn_done_button(bool do_restore)
Definition mapview.c:75
void dirty_all(void)
Definition mapview.c:438
void tileset_changed(void)
Definition mapview.c:764
void put_cross_overlay_tile(struct tile *ptile)
Definition mapview.c:622
void draw_selection_rectangle(int canvas_x, int canvas_y, int w, int h)
Definition mapview.c:728
void update_map_canvas_scrollbars_size(void)
Definition mapview.c:675
void get_overview_area_dimensions(int *width, int *height)
Definition mapview.c:300
void start_turn(void)
Definition mapview.c:787
void update_unit_info_label(struct unit_list *punits)
Definition mapview.c:258
void update_overview_scroll_window_pos(int x, int y)
Definition mapview.c:636
void update_city_descriptions(void)
Definition mapview.c:470
void gui_flush(void)
Definition mapview.c:462
void update_map_canvas_scrollbars(void)
Definition mapview.c:660
void overview_size_changed(void)
Definition mapview.c:309
void map_canvas_size_refresh(void)
Definition mapview.c:397
struct canvas * get_overview_window(void)
Definition mapview.c:320
void update_mouse_cursor(enum cursor_type new_cursor_type)
Definition mapview.c:240
void set_indicator_icons(struct sprite *bulb, struct sprite *sol, struct sprite *flake, struct sprite *gov)
Definition mapview.c:285
#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
Definition tile.h:49
cursor_type
Definition tilespec.h:285