Parent Directory | Revision Log
OSD seperated from osm-gps-map
1 | harbaum | 73 | /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 4 -*- */ |
2 | /* vim:set et sw=4 ts=4 cino=t0,(0: */ | ||
3 | /* | ||
4 | * Copyright (C) Till Harbaum 2009 <till@harbaum.org> | ||
5 | * | ||
6 | * osm-gps-map is free software: you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License as published by the | ||
8 | * Free Software Foundation, either version 3 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * osm-gps-map is distributed in the hope that it will be useful, but | ||
12 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
14 | * See the GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License along | ||
17 | * with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | */ | ||
19 | |||
20 | #ifndef _OSM_GPS_MAP_OSD_CLASSIC_H_ | ||
21 | #define _OSM_GPS_MAP_OSD_CLASSIC_H_ | ||
22 | |||
23 | /* define custom gps button */ | ||
24 | #define OSD_GPS OSD_CUSTOM | ||
25 | /* more could be added like */ | ||
26 | /* #define OSD_XYZ OSD_CUSTOM+1 */ | ||
27 | |||
28 | #include "osm-gps-map.h" | ||
29 | |||
30 | void osm_gps_map_osd_classic_init(OsmGpsMap *map); | ||
31 | void osm_gps_map_osd_enable_gps (OsmGpsMap *map, OsmGpsMapOsdCallback cb, gpointer data); | ||
32 | |||
33 | #endif |