Contents of /trunk/src/osm-gps-map-osd-classic.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 86 - (show annotations)
Sun Aug 30 19:05:44 2009 UTC (14 years, 8 months ago) by harbaum
File MIME type: text/plain
File size: 1330 byte(s)
OSD animation
1 /* -*- 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 #ifdef OSD_GPS_BUTTON
24 /* define custom gps button */
25 #define OSD_GPS OSD_CUSTOM
26 /* more could be added like */
27 /* #define OSD_XYZ OSD_CUSTOM+1 */
28 #endif
29
30 #include "osm-gps-map.h"
31
32 void osm_gps_map_osd_classic_init(OsmGpsMap *map);
33 osd_button_t osm_gps_map_osd_check(OsmGpsMap *map, gint x, gint y);
34 #ifdef OSD_GPS_BUTTON
35 void osm_gps_map_osd_enable_gps (OsmGpsMap *map, OsmGpsMapOsdCallback cb, gpointer data);
36 #endif
37
38 #endif