home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / gfx / misc / imagefx_sdk / include / scan / modall.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-15  |  1.2 KB  |  53 lines

  1. /*
  2.  * ImageFX Development Header File
  3.  * Copyright © 1991-1995 Nova Design, Inc.
  4.  * Written by Thomas Krehbiel
  5.  *
  6.  * Main Module Include File.
  7.  *
  8.  */
  9.  
  10. #ifndef SCAN_MOD_H
  11. #include <scan/mod.h>
  12. #endif
  13. #ifndef SCAN_BUF_H
  14. #include <scan/buf.h>
  15. #endif
  16. #ifndef SCAN_ERRORS_H
  17. #include <scan/errors.h>
  18. #endif
  19. #ifndef SCAN_PROTOS_H
  20. #include <scan/scan_protos.h>
  21. #endif
  22. #ifndef SCAN_PRAGMAS_H
  23. #include <scan/pragmas.h>
  24. #endif
  25.  
  26. extern struct DosLibrary     *DOSBase;    /* changed to concur with proto/dos.h */
  27. extern struct ExecBase       *SysBase;
  28. extern struct IntuitionBase  *IntuitionBase;
  29. extern struct GfxBase        *GfxBase;
  30.  
  31. extern struct ModuleBase     *ModuleBase;
  32. extern struct ScanBase       *ScanBase;
  33.  
  34. extern ULONG                  LibOpen(void);
  35. extern ULONG                  LibClose(void);
  36. extern ULONG                  LibExpunge(void);
  37. extern ULONG                  LibNull(void);
  38.  
  39. extern char                  *GetStr(int idx, char *def);
  40.  
  41. #define Alloc(a,b)            AllocMem(a,b)
  42. #define Free(a,b)             FreeMem(a,b)
  43.  
  44.  
  45. /*
  46.  * These are the coordinates of the "action" area.
  47.  */
  48. #define ACTION_LEFT           (11)
  49. #define ACTION_TOP            (14)
  50. #define ACTION_RIGHT          (ACTION_LEFT + 417 - 1)
  51. #define ACTION_BOTTOM         (ACTION_TOP + 62 - 1)
  52.  
  53.