GPS4Palm

Source Code Documentation


WayptEditForm.c File Reference

#include <PalmOS.h>
#include "ResourceDefines.h"
#include <Unix/sys_types.h>
#include "stringil.h"
#include "WayptEditForm.h"
#include "GPS.h"
#include "Serial.h"
#include "Utils.h"
#include "Data.h"
#include "utm.h"
#include "geo.h"
#include "geodb.h"
#include "fp.h"
#include "common.h"

Include dependency graph for WayptEditForm.c:

Go to the source code of this file.

Defines

#define WPT_X   90
#define WPT_Y   30

Functions

Boolean WayptEditFormHandleEvent (EventPtr eventP)
 Waypoint Edit Form Event Handler.

Variables

Location location
 store the location data with importGeoDBLocation()
PrefsType gPrefs
 Preferences data structure.
DmOpenRef gWaypointDB
 Waypoint Database Reference.
GPSType gGPSData
ActWayptType gSelWaypoint
 selected waypoint


Define Documentation

#define WPT_X   90
 

Definition at line 96 of file WayptEditForm.c.

#define WPT_Y   30
 

Definition at line 97 of file WayptEditForm.c.


Function Documentation

Boolean WayptEditFormHandleEvent EventPtr  eventP  ) 
 

Waypoint Edit Form Event Handler.

GLOBALS: gPrefs Application Preferences

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

Definition at line 819 of file WayptEditForm.c.

References Location::altStr, D104_Wpt_Type::cmnt, CommentField, Convert_UTM_To_Geodetic(), CopyMenu, CutMenu, Location::dayLight, DisplayList, DisplayPopup, DoReceiveFlush(), D104_Wpt_Type::dspl, dspl_smbl_cmnt, dspl_smbl_name, dspl_smbl_none, dspl_smbl_only, D104_Wpt_Type::dst, EastLabel, format_number(), GeodbImportAlert, gGPSData, Location::gmtEW, Location::gmtStr, gPortID, gPrefs, GraffitiMenu, gSelWaypoint, gWaypointDB, D104_Wpt_Type::ident, IdentField, importGeoDBLocation(), KeyboardMenu, Semicircle_Type::lat, GPSType::lat, LatitudeField, LatLabel, location, Semicircle_Type::lon, GPSType::lon, LongitudeField, LonLabel, Location::name, NorthLabel, PasteMenu, POS_D, POS_DM, POS_DMS, UnitsType::pos_unit, POS_UTM, D104_Wpt_Type::posn, ProxField, rad2deg(), ReadFromGPS(), semi2deg(), SetFieldText(), D104_Wpt_Type::smbl, StrCopy, StrLen, sym_anchor, sym_seaplane, UndoMenu, PrefsType::units, UnpackWaypoint(), UTM_NO_ERROR, ActWayptType::valid, GPSType::valid, WaypointForm, ActWayptType::waypointID, WayptDefBmp, WayptEditCancelButton, WayptEditHereButton, WayptEditImportButton, WayptEditNextSymButton, WayptEditOkButton, WayptEditPrevSymButton, WayptEditSymField, WptCmntStr, WptIdentStr, ZoneField, and ZoneLabel.


Variable Documentation

GPSType gGPSData
 

Definition at line 129 of file HandleMessage.c.

PrefsType gPrefs
 

Preferences data structure.

Definition at line 279 of file GPS.c.

ActWayptType gSelWaypoint
 

selected waypoint

Definition at line 147 of file WaypointForm.c.

Referenced by WaypointFormHandleEvent(), and WayptEditFormHandleEvent().

DmOpenRef gWaypointDB
 

Waypoint Database Reference.

Definition at line 107 of file Data.c.

Location location
 

store the location data with importGeoDBLocation()

Definition at line 102 of file WayptEditForm.c.

Referenced by importGeoDBLocation(), and WayptEditFormHandleEvent().


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