GPS4Palm

Source Code Documentation


RouteForm.c File Reference

#include <BuildDefines.h>
#include <PalmOS.h>
#include <SerialMgrOld.h>
#include "ResourceDefines.h"
#include "gpslib.h"
#include "RouteForm.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 RouteForm.c:

Go to the source code of this file.

Defines

#define DO_NOT_ALLOW_ACCESS_TO_INTERNALS_OF_STRUCTS

Functions

void routeDrawTable (void)
 Routes table drawing function.
Boolean RouteFormHandleEvent (EventPtr eventP)
 Route Form event handler.

Variables

PrefsType gPrefs
 Preferences data structure.
UInt32 gSerialPort
 four-character port name or logical port number (New Serial Manager)
ActRouteType gSelRoute
 selected route


Define Documentation

#define DO_NOT_ALLOW_ACCESS_TO_INTERNALS_OF_STRUCTS
 

Definition at line 83 of file RouteForm.c.


Function Documentation

void routeDrawTable void   ) 
 

Routes table drawing function.

Definition at line 236 of file RouteForm.c.

References GetObjectFromForm(), gRouteDB, and RouteTable.

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

Boolean RouteFormHandleEvent EventPtr  eventP  ) 
 

Route Form event handler.

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

Definition at line 448 of file RouteForm.c.

References AboutForm, AboutMenu, PrefsType::act_rte, PrefsType::act_wpt, DoClose(), Dopage(), Doscroll(), 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, gRouteDB, gSelRoute, gWaypointDB, route_t::items, MapForm, MapMenu, MapOptsForm, MapOptsMenu, MiscOptsForm, MiscOptsMenu, NavigationForm, NavigationMenu, NumRtePackets(), NumTrkPackets(), PortsMenu, PositionMenu, RouteDelAlert, RouteDeleteButton, routeDrawTable(), RouteEditButton, RouteEditForm, RouteGpslibField, ActRouteType::routeID, RouteNewButton, RouteScrl, RouteSelectButton, RouteTable, SetFieldText(), SkyviewForm, SkyviewMenu, store_rte(), store_trk(), store_wpt(), TrackForm, TrackMenu, TransferRteReqEvent, TransferTrkReqEvent, TransferWptReqEvent, UpdateActWpt(), ActRouteType::valid, ActWayptType::valid, WaypointForm, WaypointGpslibField, ActWayptType::waypointID, WaypointMenu, ActRouteType::wpt_index, and route_t::wpt_rec_id.


Variable Documentation

PrefsType gPrefs
 

Preferences data structure.

Definition at line 279 of file GPS.c.

ActRouteType gSelRoute
 

selected route

Definition at line 106 of file RouteForm.c.

Referenced by RouteEditFormHandleEvent(), and RouteFormHandleEvent().

UInt32 gSerialPort
 

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

Definition at line 57 of file Serial.c.


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