home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / IncPOS.lzx / pGFX / MonFile.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-18  |  1.5 KB  |  57 lines

  1. #ifndef __INC_POS_PGFX_MONFILE_H
  2. #define __INC_POS_PGFX_MONFILE_H
  3. /*******************************************************************
  4.  Includes Release 24
  5.  (C) Copyright 1995-1997 proDAD
  6.      All Rights Reserved
  7.  
  8.  $AUT Holger Burkarth
  9.  $DAT >>MonFile.h<<   25 Jan 1997    09:38:51 - (C) ProDAD
  10. *******************************************************************/
  11. #ifndef __INC_POS_PEXEC_LIST_H
  12. #include <pExec/List.h>
  13. #endif
  14.  
  15. /*----------------------------------
  16. -----------------------------------*/
  17. struct pOS_MonFile
  18. {
  19.   struct pOS_ExNode      mfh_Node;
  20.   struct pOS_MonDevice  *mfh_MonDev;
  21.   UBYTE                  mfh_Access;     /* (enum pOS_MonFileMode) */
  22.   UBYTE                  mfh_Flags;      /* (enum pOS_MonFileFlags) */
  23.   UWORD                  mfh_Count;      /* multi use counter */
  24.   struct pOS_GfxLibrary *mfh_Base;
  25.   ULONG                  mfh_BaseUse[2]; /* Private for dpi_Base */
  26.   struct pOS_Screen     *mfh_Screen;     /* set by pintui */
  27.   struct pOS_ColorMap   *mfh_ColorMap;
  28.   struct pOS_RasInfo    *mfh_RasInfo;
  29.   SLONG                  mfh_LeftEdge;
  30.   SLONG                  mfh_TopEdge;
  31.   ULONG                  mfh_Width;
  32.   ULONG                  mfh_Height;
  33.   struct pOS_View       *mfh_View;      /* Back-Link */
  34.   struct pOS_ViewPort   *mfh_ViewPort;  /* Back-Link */
  35.  
  36.   UBYTE mfh_Reserved[32];
  37. };
  38.  
  39.  
  40. enum pOS_MonFileFlags
  41. {
  42.   MONHDF_Net = 0x04,
  43. };
  44.  
  45.  
  46. enum pOS_MonFileMode
  47. {
  48.   MONHDMOD_Unknown=0,
  49.   MONHDMOD_Display = 0x01, /* is really display */
  50.  
  51.   MONHDMOD_AcMsk = 0x0f,  /* Mask for Access-Mode */
  52. };
  53.  
  54.  
  55.  
  56. #endif
  57.