⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gmdbview.h

📁 CD_高级PALM编程
💻 H
字号:
/********************************************************************* FILE:					GMDBView.h** DESCRIPTION:	The header file for GMDBView.c.** VERSION:			4.0**********************************************************************///	Constants found in all applications#define	APP_FILE_CREATOR				'PAKA'	// Palm Algorithms for Killer Applications#define	MIN_ROM_MAJOR				3#define	MIN_ROM_MINOR				0#define	MIN_ROM_VERSION			sysMakeROMVersion ( MIN_ROM_MAJOR, MIN_ROM_MINOR, 0, sysROMStageDevelopment, 0 )// Application constants #define	MAX_NUM_CARDS			2#define	BIG_JUMP						10#define	MSG_HEADER					"GMDBView_PAKA_MSG"#define	MSG_HEADER_LEN			sizeof ( MSG_HEADER ) - 1#define	NUM_ICONS						4#define	FORWARDS						1#define	BACKWARDS					-1#define	DIALOG_SCAN_MSG			"Searching..."#define	DIALOG_UPDATE_MSG		"Updating..."#define	DIALOG_MSG_X				50#define	DIALOG_MSG_Y				19#define	DIALOG_PIC_X					10#define	DIALOG_PIC_Y					20// Application globals UInt16		gDBCounts [ MAX_NUM_CARDS ];UInt16		gMaxCardsNum 	= 1;UInt16		gTotDBsNum 			= 0;Int16		gVirDBIndex 			= 0;UInt32		gThenTicks 			= 0;UInt16		gTicksPerIcon 		= 0;// Internal function prototypes for non-Starter functions// Check their definitions in the source code for parameter definitionsstatic void 				DisplayDialogMsg ( Char * msg );static Boolean 		TimeToDrawIcon ( void );static void 				RotateDialogIcon ( Int16 direction);static Boolean 		DialogCanceled ( void );static Int16 			FoundHeaderInRec ( Char * recP, Int16	recLen );static Boolean		ScanThruRecords ( UInt16 cardNum, LocalID	dbID );static 	LocalID 		DBShouldBeScanned ( UInt16	cardNum, UInt16 dbIndex );static void 				ScanThruDatabases ( void );static void 				GetRealDBIndex ( Int16 virIndex, UInt16* cardNum, UInt16 * dbIndex );	static void 				MoveForwardInDatabases ( UInt8 increment );static void 				MoveBackwardInDatabases ( UInt8 increment	);static void 				MainFormDraw ( void );

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -