#include <PalmOS.h>
#include <PalmCompatibility.h>
#include <Graffiti.h>
#include <string.h>
#include "gtalkRsc.h"
#include "latlong.h"
#include "MathLib.h"
#include <stdio.h>
#include "gpslib.h"
#include "gtalk.h"
#include "gpsutil.h"
#include "dbio.h"
Functions | |
| void | EditListDraw (Int16 itemNum, RectanglePtr bounds, CharPtr *itemsText) EDIT_SECTION |
| Callback proc. | |
| void | updateLatButtons (double latitude) EDIT_SECTION |
| Set content of latitude buttons from given latitude. | |
| void | updateLonButtons (double longitude) EDIT_SECTION |
| Set content of longitude buttons from given longitude. | |
| void | DegreToButtons (double latitude, double longitude) EDIT_SECTION |
| Display latitude and longitude on latitude and longitude buttons. | |
| double | ReadLon (void) |
| Get longitude from longitude buttons. | |
| double | ReadLat () |
| Get latitude from latitude buttons. | |
| void | SetButtons (int firstbutton, char *maskp, char *datas, char label[][2]) |
| Sets buttons contents from given mask and datas. | |
| Err | CustomToDBWpt (Custom_Wpt_Type *pcust, LocalFormatID format, long index, Boolean merge) |
| Converts the given Custom_Wpt_Type waypoint to an object of given format and place it in waypoint data base. | |
| Boolean | EditFormHandleEvent (EventPtr e) |
| Edit form event handler. | |
Variables | |
| char | LatButtonsValues [12][2] |
| char | LonButtonsValues [13][2] |
| const char * | ListChoices [] |
| char | LatMask [3][13] |
| char | LonMask [3][14] |
| const char * | LocalId2String [] = {"Unkn", "D100","D101", "D102", "D103", "D104", "D105", "D106", "D107", "D108", "", "", "", "", "", "", "", "", "", "", "D109"} |
|
||||||||||||||||||||
|
Converts the given Custom_Wpt_Type waypoint to an object of given format and place it in waypoint data base.
|
|
||||||||||||
|
Display latitude and longitude on latitude and longitude buttons.
|
|
|
Edit form event handler.
|
|
||||||||||||||||
|
Callback proc. to draw waypoints symbols in symbols list
|
|
|
Get latitude from latitude buttons.
|
|
|
Get longitude from longitude buttons.
|
|
||||||||||||||||||||
|
Sets buttons contents from given mask and datas.
|
|
|
Set content of latitude buttons from given latitude.
|
|
|
Set content of longitude buttons from given longitude.
|
|
|
Initial value: {
"00°60.000'N",
"00°60'60.0\"N",
"00.00000°N"
}
|
|
|
Initial value:
{ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "N", "S", "W", "E" }
|
|
|
Initial value: {
"200°60.000'W",
"200°60'60.0\"W",
"200.00000°W"
}
|
1.3.6