This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | SetControlValueFromId(id, val) |
#define | GetControlValueFromId(id) |
Functions | |
void * | GetObjectFromForm (FormPtr form, UInt16 objectID) |
Get pointer to object of specified form. | |
void * | GetObjectFromActiveForm (UInt16 objectID) |
Get pointer to object of active form. | |
UInt16 | MyFrmGetObjectIndexFromPtr (const FormPtr formP, void *objP) |
Get ID of object of active form given an object pointer. | |
void | Die (const Char *msg) |
generate SysFatalAlert and stop application | |
UInt32 | GetRomVersion (void) |
Get PalmOS ROM version. | |
void | Dopage (UInt16 tbl_id, Boolean down, UInt16 nr_items, Int32 *top_row) |
Table paging function using scrollbar. | |
void | Doscroll (UInt16 tbl_id, UInt16 scl_id, UInt16 nr_items, Int32 *top_row) |
Table scrolling function (using scrollbar). | |
Err | RomVersionCompatible (UInt32 requiredVersion, UInt16 launchFlags) |
Check if appropriate ROM version is available. | |
void | UpdateScrollbar (FormPtr form, UInt16 fieldID, UInt16 scrollbarID) |
Field scrolling function (using scrollbar). | |
void | ScrollLines (FormPtr form, UInt16 fieldID, UInt16 scrollbarID, Int16 numLinesToScroll, Boolean redraw) |
Field scrolling function (using scrollbar). | |
void | PageScroll (FormPtr form, UInt16 fieldID, UInt16 scrollbarID, WinDirectionType direction) |
Field scrolling function (using scrollbar). | |
void | SetFieldText (UInt16 fldID, Char *srcP, Boolean append, Boolean redraw) |
Set field object's text handle. | |
Err | SetFieldTextFromStr (FieldPtr field, Char *s, Boolean redraw) |
Set field object's text handle. | |
char | nibble2hex (const char nibble) |
Convert nibble value to hex digit (upper case). | |
void | backlight (Boolean on) |
Switch backlight on/off. | |
void | sermux_select (Boolean sel) |
Set serial multiplexer select output. | |
void | sermux_enable (Boolean enable) |
Enable serial multiplexer select output. |
|
Value: FrmGetControlValue(frmP, \
FrmGetObjectIndex(frmP, (id)))
Definition at line 57 of file Utils.h. Referenced by MiscOptsFormHandleEvent(), and PortFormHandleEvent(). |
|
Value: FrmSetControlValue(frmP, \
FrmGetObjectIndex(frmP, \
(id)), (val))
Definition at line 52 of file Utils.h. Referenced by MapOptsFormHandleEvent(), and MiscOptsFormHandleEvent(). |
|
Switch backlight on/off.
Definition at line 632 of file Utils.c. References BACKLIGHT_OFF, and BACKLIGHT_ON. |
|
generate SysFatalAlert and stop application
Definition at line 225 of file Utils.c. Referenced by InitializeWaypoints(), PackRouteHdr(), PackRouteWpt(), PackWaypoint(), store_rte(), store_trk(), store_wpt(), StoreTrkHdr(), StoreTrkPoint(), and TrackWriteLog(). |
|
Table paging function using scrollbar.
Definition at line 245 of file Utils.c. Referenced by RouteEditFormHandleEvent(), RouteFormHandleEvent(), TrackFormHandleEvent(), and WaypointFormHandleEvent(). |
|
Table scrolling function (using scrollbar).
Definition at line 275 of file Utils.c. Referenced by RouteEditFormHandleEvent(), RouteFormHandleEvent(), TrackFormHandleEvent(), and WaypointFormHandleEvent(). |
|
Get pointer to object of active form.
Definition at line 182 of file Utils.c. References GetObjectFromForm(). Referenced by AboutFormHandleEvent(), MiscOptsFormHandleEvent(), NavigationFormHandleEvent(), PortFormHandleEvent(), RouteEditFormHandleEvent(), RouteFormHandleEvent(), store_trk(), TrackFormHandleEvent(), and WaypointFormHandleEvent(). |
|
Get pointer to object of specified form.
Definition at line 168 of file Utils.c. Referenced by GetObjectFromActiveForm(), PortFormHandleEvent(), routeDrawTable(), RouteFormHandleEvent(), trackDrawTable(), TrackFormHandleEvent(), WaypointFormHandleEvent(), and wayptDrawTable(). |
|
Get PalmOS ROM version.
Definition at line 415 of file Utils.c. Referenced by RomVersionCompatible(). |
|
Get ID of object of active form given an object pointer.
|
|
Convert nibble value to hex digit (upper case). This function can be used instead of the PalmOS functions StrAToH (which always returns a 32 bit hex string) and StrPrintF (which ignores the field width specified in the format string).
Definition at line 609 of file Utils.c. Referenced by ReadFromGPS(), and TrackDBName(). |
|
Field scrolling function (using scrollbar). Scroll field's contents by entire page size.
Definition at line 392 of file Utils.c. References ScrollLines(). Referenced by AboutFormHandleEvent(). |
|
Check if appropriate ROM version is available.
Definition at line 563 of file Utils.c. References GetRomVersion(), and RomIncompatibleAlert. Referenced by PilotMain(). |
|
Field scrolling function (using scrollbar). Scroll field's contents by specified number of lines.
Definition at line 359 of file Utils.c. References UpdateScrollbar(). Referenced by AboutFormHandleEvent(), and PageScroll(). |
|
Enable serial multiplexer select output.
Definition at line 655 of file Utils.c. References gNewSerialManager, gPortID, MUXPUEN, and MUXSEL. Referenced by PortFormHandleEvent(). |
|
Set serial multiplexer select output.
Definition at line 720 of file Utils.c. References gNewSerialManager, gPortID, and MUXDATA. Referenced by PortFormHandleEvent(). |
|
Set field object's text handle. Will reuse an existing text handle, if any.
Definition at line 489 of file Utils.c. References StrCopy, and StrLen. Referenced by AboutFormHandleEvent(), ApproachFormHandleEvent(), FileSelFormHandleEvent(), HandleMessage(), MainFormHandleEvent(), NavigationFormHandleEvent(), RouteEditFormHandleEvent(), RouteFormHandleEvent(), SkyviewFormHandleEvent(), TrackFormHandleEvent(), UpdateStatus(), WaypointFormHandleEvent(), and WayptEditFormHandleEvent(). |
|
Set field object's text handle. Will reuse an existing text handle, if any.
Definition at line 442 of file Utils.c. References h, StrCopy, and StrLen. Referenced by WaypointFormHandleEvent(). |
|
Field scrolling function (using scrollbar). Update scrollbar according to field's values.
Definition at line 312 of file Utils.c. Referenced by AboutFormHandleEvent(), and ScrollLines(). |