📄 quiklist.h
字号:
/********************************************************************* FILE: QuikList.h** DESCRIPTION: The header file for the QuikList project module.* It contains constants and data type definitions.** VERSION: 1.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 2#define LOOKUP_TIMER_CNT 15#define NIL_EVENT_CNT 5// 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;RectangleType gListBounds;// Static globals, a non-database-based list.static Char * gNames [] ={ "a01", "b02", "c03", "d04", "e05", "f06", "g07", "h08", "i09", "j10", "k11", "l12", "ma", "mb", "mc", "md", "n14", "o15", "p16", "q17", "r18", "s19", "t20", "u21", "v22", "w23", "x24", "y25", "z26"};#define LIST_SIZE ( sizeof ( gNames )) / ( sizeof ( gNames [ 0 ] ))// 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 Int16 CompareNameAndFindString ( void const * gFindStr, void const * name, Int32 );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 + -