/************************************************************************************* * * File LG-3 Module.h * * This file contains header information and function prototypes for the LG-3 * Photoshop module. * *************************************************************************************/ /* Definitions */ #define AboutDialogID 16001 #define VideoDialogID 16002 #define PrefResourceID 20001 #define CTableID 21001 #define GrabID 3 #define WidthID 4 #define HeightID 5 #define TopID 6 #define BottomID 7 #define Source1ID 8 #define Source2ID 9 #define Source3ID 10 #define Source4ID 11 #define ToggleID 12 #define HookID 19 #define InitWidth 256 #define InitHeight 256 #define MemoryNeeded 524288 #define SlotResourceID 128 #define SlotCategory 8 #define SlotCType 1 #define SlotDrvrSW 0x013e #define SlotDrvrHW 0x0100 /* Stuctures */ typedef struct { int width; int height; int top; int bottom; int source; } TGlobals; typedef struct { TMTask myTMTask; long tmRefCon; } TMInfo, *TMInfoPtr; /* Function Prototypes */ int DoAbout (void); int DoPrepare (AcquireRecordPtr); int DoStart (AcquireRecordPtr, long*); int DoContinue (AcquireRecordPtr, long*); int DoFinish (long*); int ConvertString (Str255, int*, int); int FindBoard (void); int FirstTime (long*); int GetFrame (long); void InitGlobals (long*); void StorePrefs (void); void StoreGlobals (long*); void RestoreGlobals (long*); void ResetBoard (long, int); void CenterDialog (DialogTHndl); void CopyFrame (DialogPtr); void InstallTMTask (void); void RemoveTMTask (void); void MyTMTask (void); pascal void OutlineOK (DialogPtr, int); pascal Boolean MyEventFilter (DialogPtr, EventRecord*, int*);