Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

palm/palmutils.h

Go to the documentation of this file.
00001 
00008 #if !defined(_PALMUTILS_H_)
00009 #define _PALMUTILS_H_
00010 
00011 #include <PalmTypes.h>
00012 #include <Form.h>
00013 #include <sections.h>
00014 
00020 Boolean canColor(UInt16 nbits);
00029 Err changeDepthRes(UInt32 ncolors, Boolean tryHigh);
00030 
00035 Err restoreDepthRes(void);
00036 
00041 UInt32 getDepth(void);
00042 
00047 UInt32 GetCreatorID(void);
00048 
00053 Boolean isZireOld(void);
00054 
00059 Boolean isHandEra(void);
00060 
00067 Char **FillStringList(UInt16 resID, UInt16 *length) LARD_SECTION;
00068 
00075 void FreeStringList(Char **list) LARD_SECTION;
00076 
00083 void *GetObjectPtr(FormType *form, UInt16 index);
00084 
00092 void RearrangeBitmap(FormPtr form, UInt16 oID, Int16 offsetX, Int16 offsetY);
00093 
00103 void RearrangeObjectOnly(FormPtr form, UInt16 oID, Int16 offsetX,
00104     Int16 offsetY, Int16 resizeX, Int16 resizeY);
00105 
00115 void compatBmpGetDimensions(BitmapPtr pBmp, Coord *pWidth, Coord *pHeight,
00116     UInt16 *pRowBytes);
00117 
00118 #if defined(DEBUG)
00119 
00125 void DangerWillRobinson(char *information, char *file, int line);
00132 #define Warning(mesg) DangerWillRobinson(mesg, __FILE__, __LINE__)
00133 
00134 #else
00135 #define Warning(mesg)
00136 #endif
00137 
00138 #endif /* _PALMUTILS_H_ */

Generated on Mon Aug 30 19:44:15 2004 for pocketcity by doxygen1.2.18