home *** CD-ROM | disk | FTP | other *** search
/ Merciful 5 / Merciful - Disc 5.iso / software / r / rtg_master / rtgmasterv21.0dev.lha / includes / c / rtgmaster / rtgCGX.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-09  |  1.1 KB  |  72 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. struct RtgBaseCGX
  25. {
  26.     struct Library CGXLibBase;
  27.     UWORD  Pad1;
  28.     ULONG  SegList;
  29.     APTR   ExecBase;
  30.     APTR   UtilityBase;
  31.     APTR   DosBase;
  32.     APTR   CGXBase;
  33.     APTR   GfxBase;
  34.     APTR   IntBase;
  35.     ULONG  Flags;
  36. };
  37.  
  38. struct MyPort
  39. {
  40.     struct MsgPort *port;
  41.     ULONG signal;
  42.     WORD *MouseX;
  43.     WORD *MouseY;
  44. };
  45.  
  46. struct RtgScreenCGX
  47. {
  48.     struct RtgScreen Header;
  49.     APTR   MyScreen;
  50.     ULONG  ActiveMap;
  51.     APTR   MapA;
  52.     APTR   MapB;
  53.     APTR   MapC;
  54.     APTR   FrontMap;
  55.     ULONG  Bytes;
  56.     ULONG  Width;
  57.     UWORD  Height;
  58.     ULONG  NumBuf;
  59.     UWORD  Locks;
  60.     ULONG  ModeID;
  61.     struct BitMap *RealMapA;
  62.     ULONG Tags[5];
  63.     ULONG  OffA;
  64.     ULONG  OffB;
  65.     ULONG  OffC;
  66.     APTR   MyWindow;
  67.     struct MyPort PortData;
  68. };
  69.  
  70. #endif
  71.  
  72.