Main Page | Alphabetical List | Data Structures | File List | Globals | Related Pages

track.c File Reference

Tracks management part of GPilotS. More...

#include <PalmOS.h>
#include <PalmCompatibility.h>
#include "gtalkRsc.h"
#include "gpslib.h"
#include "gtalk.h"
#include "track.h"
#include "gpsutil.h"
#include "log.h"
#include "dbio.h"
#include "map.h"
#include "ExgMgr.h"

Defines

#define DRAWW   128
#define DRAWH   90
#define DRAWX   20
#define DRAWY   15
#define DISPELT   10
#define TIMEOFFSET   15

Functions

void DrawSpeed (VoidHand RecH) TRACK_SECTION
 Drawing of speed profile of a track.

double TrackDistance (VoidHand RecH, Boolean WithHoles) TRACK_SECTION
 Compute cumulative length of a track.

Boolean TrackFormHandleEvent (EventPtr e)
 Event handler of track form.


Detailed Description

Tracks management part of GPilotS.

Author:
C. Claveleira
Date:
1999-2004

Function Documentation

void DrawSpeed VoidHand  RecH  )  [static]
 

Drawing of speed profile of a track.

Parameters:
RecH handle of the track
Returns:
nothing

double TrackDistance VoidHand  RecH,
Boolean  WithHoles
[static]
 

Compute cumulative length of a track.

Parameters:
RecH handle on the track
WithHoles if true holes are counted
Returns:
computed distance

Boolean TrackFormHandleEvent EventPtr  e  ) 
 

Event handler of track form.

Parameters:
e pointer on event received
Returns:
true if handled


Generated on Sun Mar 13 09:36:01 2005 for GPilotS by doxygen 1.3.6