Parent Directory | Revision Log
Initial import
1 | harbaum | 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_EDIT_H | ||
21 | #define MAP_EDIT_H | ||
22 | |||
23 | void map_edit_way_add_begin(map_t *map, way_t *way_sel); | ||
24 | void map_edit_way_add_segment(map_t *map, gint x, gint y); | ||
25 | void map_edit_way_add_cancel(map_t *map); | ||
26 | void map_edit_way_add_ok(map_t *map); | ||
27 | |||
28 | void map_edit_way_node_add_highlight(map_t *map, map_item_t *item, | ||
29 | gint x, gint y); | ||
30 | void map_edit_way_node_add(map_t *map, gint x, gint y); | ||
31 | |||
32 | void map_edit_way_cut_highlight(map_t *map, map_item_t *item, gint x, gint y); | ||
33 | void map_edit_way_cut(map_t *map, gint x, gint y); | ||
34 | |||
35 | void map_edit_node_move(appdata_t *appdata, map_item_t *map_item, | ||
36 | gint ex, gint ey); | ||
37 | |||
38 | void map_edit_way_reverse(appdata_t *appdata); | ||
39 | |||
40 | #endif // MAP_EDIT_H |