GPS4Palm

Source Code Documentation


WaypointForm.c File Reference

#include <BuildDefines.h>
#include <PalmOS.h>
#include <SerialMgrOld.h>
#include "ResourceDefines.h"
#include "gpslib.h"
#include "WaypointForm.h"
#include "Data.h"
#include "DataExchange.h"
#include "Utils.h"
#include "Serial.h"
#include "utm.h"
#include "geo.h"
#include "fp.h"
#include "common.h"

Include dependency graph for WaypointForm.c:

Go to the source code of this file.

Defines

#define DO_NOT_ALLOW_ACCESS_TO_INTERNALS_OF_STRUCTS
#define WPT_X   146
#define WPT_Y   94

Functions

void wayptDrawTable (void)
 Waypoint table drawing function.
Boolean WaypointFormHandleEvent (EventPtr eventP)
 Waypoint Form event handler.

Variables

PrefsType gPrefs
 Preferences data structure.
ActWayptType gSelWaypoint
 selected waypoint
UInt32 gSerialPort
 four-character port name or logical port number (New Serial Manager)
TableDrawItemFuncType TableDrawIdentCell
TableDrawItemFuncType TableDrawPosnCell


Define Documentation

#define DO_NOT_ALLOW_ACCESS_TO_INTERNALS_OF_STRUCTS
 

Definition at line 122 of file WaypointForm.c.

#define WPT_X   146
 

Definition at line 142 of file WaypointForm.c.

Referenced by WaypointFormHandleEvent().

#define WPT_Y   94
 

Definition at line 143 of file WaypointForm.c.

Referenced by WaypointFormHandleEvent().


Function Documentation

Boolean WaypointFormHandleEvent EventPtr  eventP  ) 
 

Waypoint Form event handler.

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

Definition at line 749 of file WaypointForm.c.

References AboutForm, AboutMenu, PrefsType::act_rte, PrefsType::act_wpt, D104_Wpt_Type::cmnt, DoClose(), Dopage(), Doscroll(), D104_Wpt_Type::dspl, D104_Wpt_Type::dst, format_number(), GarminGetRtes(), GarminGetTrks(), GarminGetWpts(), GarminPutRtes(), GarminPutTrks(), GarminPutWpts(), GarminSetHostMode(), get_next_rte(), get_next_trk(), get_next_wpt(), GetObjectFromActiveForm(), GetObjectFromForm(), GIII, gNewSerialManager, gPortID, gPrefs, GpslibTicks(), GPSMainForm, GPSPortForm, gSelWaypoint, gWaypointDB, MapForm, MapMenu, MapOptsForm, MapOptsMenu, MiscOptsForm, MiscOptsMenu, NavigationForm, NavigationMenu, NumRtePackets(), NumTrkPackets(), PortsMenu, PositionMenu, RouteForm, RouteMenu, SetFieldText(), SetFieldTextFromStr(), SkyviewForm, SkyviewMenu, D104_Wpt_Type::smbl, store_rte(), store_trk(), store_wpt(), TrackForm, TrackMenu, TransferRteReqEvent, TransferTrkReqEvent, TransferWptReqEvent, UnpackWaypoint(), ActWayptType::valid, ActRouteType::valid, WaypointCopyButton, WaypointDelConfirmAlert, WaypointDelErrorAlert, WaypointDeleteButton, WaypointDispList, WaypointGotoButton, WaypointGpslibField, ActWayptType::waypointID, WaypointNewButton, WaypointProxField, WaypointScrl, WaypointTable, WayptDefBmp, wayptDrawTable(), WayptEditForm, WPT_X, and WPT_Y.

void wayptDrawTable void   ) 
 

Waypoint table drawing function.

Definition at line 507 of file WaypointForm.c.

References GetObjectFromForm(), gWaypointDB, WaypointDispList, and WaypointTable.

Referenced by store_rte(), store_wpt(), and WaypointFormHandleEvent().


Variable Documentation

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().

UInt32 gSerialPort
 

four-character port name or logical port number (New Serial Manager)

Definition at line 57 of file Serial.c.

static void TableDrawIdentCell
 

Definition at line 263 of file WaypointForm.c.

static void TableDrawPosnCell
 

Definition at line 264 of file WaypointForm.c.


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