Contents of /src/map_hl.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations)
Tue Dec 9 20:06:06 2008 UTC (15 years, 5 months ago) by harbaum
File MIME type: text/plain
File size: 1702 byte(s)
Initial import
1 /*
2 * Copyright (C) 2008 Till Harbaum <till@harbaum.org>.
3 *
4 * This file is part of OSM2Go.
5 *
6 * OSM2Go is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * OSM2Go is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with OSM2Go. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef MAP_HL_H
21 #define MAP_HL_H
22
23 void map_hl_cursor_draw(map_t *map, gint x, gint y, gboolean is_world, gint radius);
24 void map_hl_cursor_clear(map_t *map);
25
26 void map_hl_touchnode_draw(map_t *map, node_t *node);
27 void map_hl_touchnode_clear(map_t *map);
28 node_t *map_hl_touchnode_get_node(map_t *map);
29
30 void map_hl_remove(appdata_t *appdata);
31 gboolean map_hl_item_is_highlighted(map_t *map, map_item_t *item);
32
33 canvas_item_t *map_hl_circle_new(map_t *map, canvas_group_t group, map_item_t *map_item,
34 gint x, gint y, gint radius, canvas_color_t color);
35
36 canvas_item_t *map_hl_polyline_new(map_t *map, canvas_group_t group, map_item_t *map_item,
37 canvas_points_t *points, gint width, canvas_color_t color);
38
39 canvas_item_t *map_hl_polygon_new(map_t *map, canvas_group_t group, map_item_t *map_item,
40 canvas_points_t *points, canvas_color_t color);
41
42 void map_hl_segment_draw(map_t *map, gint width, gint x0, gint y0, gint x1, gint y1);
43
44
45
46 #endif // MAP_HL_H