GPS4Palm

Source Code Documentation


MapForm.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MAPFORM_SECTION   __attribute__ ((section ("maps")))
#define CROSS_X   3
#define CROSS_Y   3
#define CR_MIN_X   CROSS_X
#define CR_MAX_X   160-CROSS_X
#define CR_MIN_Y   CROSS_Y
#define CR_MAX_Y   160-CROSS_Y

Functions

Boolean MapFormHandleEvent (EventPtr event) MAPFORM_SECTION
 Map Form event handler.

Variables

double lat
double lon


Define Documentation

#define CR_MAX_X   160-CROSS_X
 

Definition at line 47 of file MapForm.h.

#define CR_MAX_Y   160-CROSS_Y
 

Definition at line 49 of file MapForm.h.

#define CR_MIN_X   CROSS_X
 

Definition at line 46 of file MapForm.h.

#define CR_MIN_Y   CROSS_Y
 

Definition at line 48 of file MapForm.h.

#define CROSS_X   3
 

Definition at line 42 of file MapForm.h.

Referenced by MapFormHandleEvent(), and search_map().

#define CROSS_Y   3
 

Definition at line 43 of file MapForm.h.

Referenced by MapFormHandleEvent(), and search_map().

#define MAPFORM_SECTION   __attribute__ ((section ("maps")))
 

Definition at line 39 of file MapForm.h.


Function Documentation

Boolean MapFormHandleEvent EventPtr  eventP  ) 
 

Map Form event handler.

Parameters:
eventP pointer to event structure
Returns:
event handled flag

Definition at line 503 of file MapForm.c.

References AbortGIFAlert, AbortPNGAlert, AboutForm, AboutMenu, PrefsType::act_rte, PrefsType::act_trk, PrefsType::auto_wpt, calcxy(), cleanGIF(), cleanPNG(), color, CROSS_X, CROSS_Y, DebugForm, DebugMenu, DLD_A, DLD_O, DLD_Q, dobitmap(), doGIF(), doPNG(), DoReceiveFlush(), MapPrefsType::download, fclose(), MapPrefsType::fetch, FETCH_READY, FETCH_START, FETCH_STOP, FetchMapMenu, FileDescrType::fh, PrefsType::filecard, FILEDIR, PrefsType::filename, FileOpenMenu, FileSelForm, FiveWayCenterPressed, FiveWayKeyPressed, PrefsType::form, FileDescrType::fr, fread(), FW_PAN, FW_ZOOM, georef_filename(), gFiveWayAvail, gFtrSet35, gGPSData, gHdFtrSet, gNewSerialManager, gPortID, gPrefs, GPSMainForm, GPSPortForm, h, GPSType::lat, ActTrackType::log_state, GPSType::lon, map, MapForm, mapmax, MapOptsForm, MapOptsMenu, PrefsType::mapprefs, MiscOptsForm, MiscOptsMenu, NavigationForm, NavigationMenu, NoFileAlert, noMap(), NotifyApproach(), NoZLibAlert, ON_MAP, PortsMenu, PosclipMenu, PosgeodbMenu, Position2Clipboard(), Position2Geodb(), PositionMenu, QueryDldAlert, r, ReadFromGPS(), rewind(), RouteForm, RouteMenu, MapPrefsType::scale, search_map(), SEL_AUTO, SEL_USER, MapPrefsType::select, SkyviewForm, SkyviewMenu, STAT_REDRAW, StrCopy, StrLen, strlen(), strncmp(), TrackForm, TrackIntervalCheck(), TrackMenu, TrackWriteLog(), PrefsType::units, UpdateActWpt(), UpdateStatus(), ActRouteType::valid, GPSType::valid, VFS_FLAG, w, WaypointForm, WaypointMenu, and WrongFileAlert.


Variable Documentation

double lat
 

Referenced by georef_filename().

double lon
 

Referenced by georef_filename().


Created: Mon, 08 Oct 2007 22:33:16 +0200
Copyright ©2004 M. Prinke