00001 /***************************************************************************** 00002 * 00003 * $RCSfile: SkyviewForm_8h-source.html,v $ 00004 * 00005 * GPS4Palm Sky View 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: SkyviewForm_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.4 2005-05-06 13:36:45 mp 00020 * added defines for screen layout 00021 * 00022 * Revision 1.3 2004/11/24 21:26:57 mp 00023 * moved static function declarations from header to implementation file 00024 * 00025 * Revision 1.2 2004/11/13 14:26:26 mp 00026 * moved functions to 'sky' section 00027 * 00028 * Revision 1.1.1.1 2003/07/14 18:59:29 mp 00029 * Imported GPS4Palm to CVS revision control. 00030 * 00031 * 00032 ****************************************************************************/ 00033 #ifndef SKYVIEWFORM_H 00034 #define SKYVIEWFORM_H 00035 00036 /* 00037 * The sky view functions are in their own segment 00038 */ 00039 #define SKYVIEW_SECTION __attribute__ ((section ("sky"))) 00040 00041 #define SKY_X 50 // X center coordinate 00042 #define SKY_Y 75 // Y center coordinate 00043 #define SKY_R1 22 // Radius inner circle 00044 #define SKY_R2 45 // Radius outer circle 00045 #define SKY_L1 124 // Upper bar graph limit 00046 #define SKY_L2 149 // Bar graph base line 00047 00048 Boolean SkyviewFormHandleEvent(EventPtr event) SKYVIEW_SECTION; 00049 00050 #endif