00001 /***************************************************************************** 00002 * 00003 * $RCSfile: MapForm_8h-source.html,v $ 00004 * 00005 * GPS4Palm Map Form 00006 * 00007 * This program is Copyright (C) 12/2002 Matthias Prinke 00008 * <matthias.prinke@surfeu.de> and covered by GNU's GPL. 00009 * In particular, this program is free software and comes WITHOUT 00010 * ANY WARRANTY. 00011 * 00012 * $Author: mp $ 00013 * 00014 * $Date: 2007-10-08 20:40:33 $ 00015 * 00016 * $Revision: 1.7.2.1 $ 00017 * 00018 * $Log: MapForm_8h-source.html,v $ 00018 * Revision 1.7.2.1 2007-10-08 20:40:33 mp 00018 * updated for gps4palm V0.9.5 beta 00018 * 00019 * Revision 1.5 2004-11-24 21:12:59 mp 00020 * moved static function declarations from header to implementation file 00021 * 00022 * Revision 1.4 2003/12/30 14:49:34 mp 00023 * added prototypes for callFetchmap(), eraseFilename(), and updateCross() 00024 * 00025 * Revision 1.3 2003/12/28 18:16:22 mp 00026 * added crosshair min/max, added CallFetchMap() 00027 * 00028 * Revision 1.2 2003/11/20 20:52:07 mp 00029 * moved functions to maps-section 00030 * 00031 * Revision 1.1.1.1 2003/07/14 18:59:29 mp 00032 * Imported GPS4Palm to CVS revision control. 00033 * 00034 * 00035 ****************************************************************************/ 00036 #ifndef MAPFORM_H 00037 #define MAPFORM_H 00038 00039 #define MAPFORM_SECTION __attribute__ ((section ("maps"))) 00040 00041 /* Position crosshair dimensions */ 00042 #define CROSS_X 3 00043 #define CROSS_Y 3 00044 00045 /* Position crosshair coordinates maximum and minimum */ 00046 #define CR_MIN_X CROSS_X 00047 #define CR_MAX_X 160-CROSS_X 00048 #define CR_MIN_Y CROSS_Y 00049 #define CR_MAX_Y 160-CROSS_Y 00050 00051 extern double lat; 00052 extern double lon; 00053 00054 Boolean MapFormHandleEvent(EventPtr event) MAPFORM_SECTION; 00055 00056 #endif