📄 quiklist.h
字号:
/********************************************************************* FILE: QuikList.h** DESCRIPTION: The header file for the QuikList project module.* It contains constants and data type definitions.** VERSION: 2.0**********************************************************************/// Basis system constants#define APP_FILE_CREATOR 'PAKA' // Palm Algorithms for Killer Applications#define MIN_ROM_MAJOR 3#define MIN_ROM_MINOR 1#define MIN_ROM_VERSION sysMakeROMVersion ( MIN_ROM_MAJOR, MIN_ROM_MINOR, 0, sysROMStageDevelopment, 0 )// Constants for Graffiti lookup processing#define MAX_MATCH_CHAR 3#define LOOKUP_TIMER_CNT 15#define NIL_EVENT_CNT 5// Database constants#define APP_FILE_TYPE 'data'#define MAX_NAME_LENGTH 32// List constants for redrawing the list lines#define VIS_ITEMS 12#define TOP_LEFT_X 1#define TOP_LEFT_Y 15#define EXTENT_X 158#define EXTENT_Y 132#define FONT_HEIGHT 11// Lookup globalsChar gFindStr [ MAX_MATCH_CHAR + 1 ] = "";Boolean gStopDrawing = false;Int16 gEventTimeout = evtWaitForever;Int8 gNilEventCnt = 0;Int16 gTopItem = 0;Int16 gListSize = 0;RectangleType gListBounds;// Database globalsDmOpenRef gDBRef;// Internal function prototypes for non-Starter functions// Check their definitions in the source code for parameter definitionsstatic void StartGraffitiLookup ( Char chr );static void StopGrafftiLookup ( void );static Int32 DBSearch ( Char * fStrP, DmOpenRef dbRef );static void MainFormDrawList ( void );static Int16 FitToListBoundaries ( Int16 topItem );static Boolean MainFormProcessKeystroke ( UInt8 chr, Boolean drawing );
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -