home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-08 | 1.6 KB | 44 lines | [TEXT/KAHL] |
- //------------------------- © 1994-1995 by James G. Stout --------------------------
- // File : miscCDEF.h
- // Date : November 2,1991
- // Author : Jim Stout
- // Purpose : #defines, typedefs and prototypes for miscCDEF.c
- //----------------------------------------------------------------------------------
- #ifndef calcCntlRgn
- #define calcCntlRgn 10
- #define calcThumbRgn 11
- #endif
- #ifndef useWindFont
- #define useWindFont 0x08
- #endif
-
- //----------------------------------------------------------------------------------
- // data passed to DeviceLoop
- //----------------------------------------------------------------------------------
- typedef struct {
- ControlHandle theCtl;
- short varCode;
- Rect controlRect;
- }devLoopData,**devLoopHandle;
-
- //----------------------------------------------------------------------------------
- // Function prototypes
- //----------------------------------------------------------------------------------
-
- short getPixDepth (Rect * r);
- void sys6DeviceLoop (RgnHandle drawingRgn, DeviceLoopDrawingUPP drawingProc,
- long userData, DeviceLoopFlags flags);
- short getOSVers (void);
- Boolean trapAvailable (short trapNum);
- short numToolBoxTraps (void);
- TrapType getTrapType (short trapType);
-
- //----------------------------------------------------------------------------------
- // low-memory globals - I know…, but Apple's popUp CDEF 63 uses these…
- //----------------------------------------------------------------------------------
- #ifdef THINK_C
- extern long LastSpExtra : 0x0B4C;
- extern short SysFontFam : 0x0BA6;
- extern short SysFontSize : 0x0BA8;
- #endif
- //----------------------------------------------------------------------------------