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

  1. #ifndef __INC_POS_PGFX_MONFIB_H
  2. #define __INC_POS_PGFX_MONFIB_H
  3. /*******************************************************************
  4.  Includes Release 24
  5.  (C) Copyright 1995-1997 proDAD
  6.      All Rights Reserved
  7.  
  8.  $AUT Holger Burkarth
  9.  $DAT >>MonFIB.h<<   25 Jan 1997    09:42:25 - (C) ProDAD
  10. *******************************************************************/
  11. #ifndef __INC_POS_PLAYER_RECT_H
  12. #include <pLayer/Rect.h>
  13. #endif
  14. #ifndef __INC_POS_PGFX_MODEID_H
  15. #include <pGFX/ModeID.h>
  16. #endif
  17. #ifndef __INC_POS_PGFX_GFXBASE_H
  18. #include <pGFX/GFXBase.h>
  19. #endif
  20.  
  21. /*----------------------------------
  22. -----------------------------------*/
  23. struct pOS_MonInfoBlock
  24. {
  25.   ULONG            mfib_Key[4];       /* private for the handler */
  26.  
  27.   CHAR             mfib_Name[pOS_MonFileName_MAX];
  28.   UBYTE            mfib_Type;         /* (enum pOS_MonitorInfoType) */
  29.   UBYTE            mfib_Pad0;
  30.  
  31.   struct pOS_Point mfib_ViewPosition;
  32.   struct pOS_Point mfib_DefaultViewPosition;
  33.   struct pOS_Point mfib_MinPixelResolution;            /* z.B. 320x200 */
  34.   struct pOS_Point mfib_MaxPixelResolution;            /* z.B. 32767x32767 */
  35.   struct pOS_Point mfib_PixelResolution[OSCANTYP_MAX]; /* z.B. 640x512 */
  36.  
  37.   UBYTE            mfib_RedBits;
  38.   UBYTE            mfib_GreenBits;
  39.   UBYTE            mfib_BlueBits;
  40.   UBYTE            mfib_AlphaBits;
  41.  
  42.   ULONG            mfib_Colors[24];       /* NULL => End of Array */
  43.  
  44.   UBYTE            mfib_DefaultColorIdx;  /* Default-Index at mfib_Colors[] */
  45.   UBYTE            mfib_XAspect;
  46.   UBYTE            mfib_YAspect;
  47.   UBYTE            mfib_Pad1;
  48.   ULONG            mfib_GfxMapType;
  49.   ULONG            mfib_ColorMapType;
  50.  
  51.   ULONG            mfib_PixelFrequence;   /* PixelFreq. in Picohertz */
  52.   ULONG            mfib_FrameFrequence;   /* VBlanks per Sec. * 0x10000 */
  53.   ULONG            mfib_LineFrequence;    /* Lines per Sec */
  54.  
  55.   UWORD            mfib_SpriteNum;        /* Number of Sprites */
  56.   struct pOS_Point mfib_SpriteResolution; /* */
  57.   ULONG            mfib_SpcFlags;         /* (enum pOS_MonitorInfoSpFlags) */
  58.  
  59.   UBYTE  mfib_Reserved[32];
  60. };
  61.  
  62.  
  63.  
  64.  
  65. enum pOS_MonitorInfoType
  66. {
  67.   MONINTYP_Unknown = 0,
  68.   MONINTYP_Dir     = 0x01, /* Bit 0 */
  69.   MONINTYP_File    = 0x02, /* Bit 1 */
  70.  
  71.   MONINTYP_FDMask  = 0x03, /* MONINTYP_File | MONINTYP_Dir */
  72.  
  73.   MONINTYP_Node    = 0x10, /* only a mark */
  74. };
  75.  
  76.  
  77.  
  78. enum pOS_MonitorInfoSpFlags /** mfib_SpcFlags **/
  79. {
  80.   MONINSPF_HDrag = 0x0001, /* horiz. drag able */
  81.   MONINSPF_VDrag = 0x0002, /* vert. drag able */
  82. };
  83.  
  84.  
  85.  
  86.  
  87. #endif
  88.