home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #2 / amigaacscoverdisc1998-021998.iso / utilities / shareware / gfxboard / rtgmaster_dev / includes / c / rtgmaster / rtgcgx.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-10-08  |  1.3 KB  |  82 lines

  1. /*
  2. **     $VER: rtgCGX.h 1.001 (08 Mar 1997)
  3. */
  4.  
  5. #ifndef RTGCGX_H
  6. #define RTGCGX_H TRUE
  7.  
  8. #ifndef RTGSUBLIBS_H
  9. #include <rtgmaster/rtgsublibs.h>
  10. #endif
  11.  
  12. #ifndef EXEC_LIBRARIES_H
  13. #include <exec/libraries.h>
  14. #endif
  15.  
  16. #ifndef EXEC_TYPES_H
  17. #include <exec/types.h>
  18. #endif
  19.  
  20. #ifndef EXEC_PORTS_H
  21. #include <exec/ports.h>
  22. #endif
  23.  
  24. #ifndef GRAPHICS_VIEW_H
  25. #include <graphics/view.h>
  26. #endif
  27.  
  28. struct RtgBaseCGX
  29. {
  30.     struct Library CGXLibBase;
  31.     UWORD  Pad1;
  32.     ULONG  SegList;
  33.     APTR   ExecBase;
  34.     APTR   UtilityBase;
  35.     APTR   DosBase;
  36.     APTR   CGXBase;
  37.     APTR   GfxBase;
  38.     APTR   IntBase;
  39.     ULONG  Flags;
  40.     APTR   ExpansionBase;
  41.     APTR   DiskFontBase;
  42. };
  43.  
  44. struct MyPort
  45. {
  46.     struct MsgPort *port;
  47.     ULONG signal;
  48.     WORD *MouseX;
  49.     WORD *MouseY;
  50. };
  51.  
  52. struct RtgScreenCGX
  53. {
  54.     struct RtgScreen Header;
  55.     APTR   MyScreen;
  56.     ULONG  ActiveMap;
  57.     APTR   MapA;
  58.     APTR   MapB;
  59.     APTR   MapC;
  60.     APTR   FrontMap;
  61.     ULONG  Bytes;
  62.     ULONG  Width;
  63.     UWORD  Height;
  64.     ULONG  NumBuf;
  65.     UWORD  Locks;
  66.     ULONG  ModeID;
  67.     struct BitMap *RealMapA;
  68.     ULONG Tags[5];
  69.     ULONG  OffA;
  70.     ULONG  OffB;
  71.     ULONG  OffC;
  72.     APTR   MyWindow;
  73.     struct MyPort PortData;
  74.     ULONG  BPR;
  75.     struct DBufInfo *dbi;
  76.     ULONG  SafeToWrite;
  77.     ULONG  SafeToDisp;
  78. };
  79.  
  80. #endif
  81.  
  82.