Freeciv-3.3: /fast/freeciv/nightly/main/client/include/mapview_g.h Source File

Freeciv-3.3

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
29#include "gui_proto_constructor.h"
30
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)
39
40 GUI_FUNC_PROTO(void, start_turn, void)
41
42 GUI_FUNC_PROTO(void, overview_size_changed, void)
43 GUI_FUNC_PROTO(void, update_overview_scroll_window_pos, int x, int y)
44 GUI_FUNC_PROTO(void, get_overview_area_dimensions, int *width, int *height)
45 GUI_FUNC_PROTO(struct canvas *, get_overview_window, void)
46
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)
52
53 GUI_FUNC_PROTO(void, update_map_canvas_scrollbars, void)
54 GUI_FUNC_PROTO(void, update_map_canvas_scrollbars_size, void)
55
56 GUI_FUNC_PROTO(void, map_canvas_size_refresh, void)
57
58 GUI_FUNC_PROTO(void, put_cross_overlay_tile, struct tile *ptile)
59
60 GUI_FUNC_PROTO(void, draw_selection_rectangle, int canvas_x, int canvas_y,
61 int w, int h)
62 GUI_FUNC_PROTO(void, tileset_changed, void)
63
64#endif /* FC__MAPVIEW_G_H */
canvas_g.h
height
struct canvas int int struct sprite int int int int height
Definition canvas_g.h:44
width
struct canvas int int struct sprite int int int width
Definition canvas_g.h:44
incite_cost
char * incite_cost
Definition comments.c:74
fc_types.h
update_timeout_label
void update_timeout_label(void)
Definition mapview.c:118
flush_dirty
void flush_dirty(void)
Definition mapview.c:468
update_info_label
void update_info_label(void)
Definition mapview.c:138
update_turn_done_button
void update_turn_done_button(bool do_restore)
Definition mapview.c:76
dirty_all
void dirty_all(void)
Definition mapview.c:456
tileset_changed
void tileset_changed(void)
Definition mapview.c:782
put_cross_overlay_tile
void put_cross_overlay_tile(struct tile *ptile)
Definition mapview.c:643
draw_selection_rectangle
void draw_selection_rectangle(int canvas_x, int canvas_y, int w, int h)
Definition mapview.c:749
update_map_canvas_scrollbars_size
void update_map_canvas_scrollbars_size(void)
Definition mapview.c:696
get_overview_area_dimensions
void get_overview_area_dimensions(int *width, int *height)
Definition mapview.c:317
start_turn
void start_turn(void)
Definition mapview.c:805
update_unit_info_label
void update_unit_info_label(struct unit_list *punits)
Definition mapview.c:275
update_overview_scroll_window_pos
void update_overview_scroll_window_pos(int x, int y)
Definition mapview.c:657
update_city_descriptions
void update_city_descriptions(void)
Definition mapview.c:488
gui_flush
void gui_flush(void)
Definition mapview.c:480
update_map_canvas_scrollbars
void update_map_canvas_scrollbars(void)
Definition mapview.c:681
overview_size_changed
void overview_size_changed(void)
Definition mapview.c:326
map_canvas_size_refresh
void map_canvas_size_refresh(void)
Definition mapview.c:414
get_overview_window
struct canvas * get_overview_window(void)
Definition mapview.c:337
update_mouse_cursor
void update_mouse_cursor(enum cursor_type new_cursor_type)
Definition mapview.c:257
set_indicator_icons
void set_indicator_icons(struct sprite *bulb, struct sprite *sol, struct sprite *flake, struct sprite *gov)
Definition mapview.c:302
gui_proto_constructor.h
GUI_FUNC_PROTO
#define GUI_FUNC_PROTO(_type, _func,...)
Definition gui_proto_constructor.h:22
mapview_common.h
canvas_x
int canvas_x
Definition mapview_g.h:47
dirty_rect
dirty_rect
Definition mapview_g.h:47
canvas_y
int int canvas_y
Definition mapview_g.h:47
pixel_width
int int int pixel_width
Definition mapview_g.h:48
y
struct sprite int int y
Definition sprite_g.h:31
x
struct sprite int x
Definition sprite_g.h:31
canvas
Definition canvas.h:22
sprite
Definition sprite.h:22
tile
Definition tile.h:50
support.h
cursor_type
cursor_type
Definition tilespec.h:289
unitlist.h