00001 /***************************************************************************** 00002 * 00003 * $RCSfile: NavigationForm_8h-source.html,v $ 00004 * 00005 * GPS4Palm Navigation Form 00006 * 00007 * This program is Copyright (C) 03/2003 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:34 $ 00015 * 00016 * $Revision: 1.7.2.1 $ 00017 * 00018 * $Log: NavigationForm_8h-source.html,v $ 00018 * Revision 1.7.2.1 2007-10-08 20:40:34 mp 00018 * updated for gps4palm V0.9.5 beta 00018 * 00019 * Revision 1.7 2004-11-24 21:15:17 mp 00020 * moved static function declarations from header to implementation file 00021 * 00022 * Revision 1.6 2004/11/20 15:46:48 mp 00023 * moved update_act_wpt() to Data.c, 00024 * moved NavigationFormHandleEvent() to NAV_SECTION 00025 * 00026 * Revision 1.5 2004/11/19 18:34:47 mp 00027 * added display_wpt() and update_act_wpt() 00028 * 00029 * Revision 1.4 2004/11/13 14:26:53 mp 00030 * moved functions to 'nav' section 00031 * 00032 * Revision 1.3 2004/03/13 14:07:21 mp 00033 * added prototypes 00034 * 00035 * Revision 1.2 2004/03/11 21:35:31 mp 00036 * modified 'compass' geometry 00037 * 00038 * Revision 1.1.1.1 2003/07/14 18:59:29 mp 00039 * Imported GPS4Palm to CVS revision control. 00040 * 00041 * 00042 ****************************************************************************/ 00043 #ifndef NAVIGATIONFORM_H 00044 #define NAVIGATIONFORM_H 00045 00046 /* 00047 * The navigation functions are in their own segment 00048 */ 00049 #define NAV_SECTION __attribute__ ((section ("nav"))) 00050 00051 #define NAV_X 41 // X center coordinate 00052 #define NAV_Y 118 // Y center coordinate 00053 #define NAV_R1 24 // Radius inner circle 00054 #define NAV_R2 40 // Radius outer circle 00055 #define NAV_R3 32 // Radius for points of compass 00056 00057 Boolean NavigationFormHandleEvent(EventPtr event) NAV_SECTION; 00058 00059 #endif