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

  1. @DATABASE "pGFX/MonFIB.h"
  2. @MASTER   "Work2:AD/IInc/pGFX/MonFIB.h"
  3. @REMARK   This file was created by ADtoHT 2.0 on 11-Mär-97  13:34:50
  4. @REMARK   Do not edit
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "pGFX/MonFIB.h"
  8. @TOC "__pOS_Dev.guide/MAIN"
  9.  
  10. @{"pGFX/MonFIB.h" LINK File}
  11.  
  12.  
  13. @{b}Structures@{ub}
  14.  
  15. @{"pOS_MonInfoBlock" LINK "pGFX/MonFIB.h/File" 23}
  16.  
  17. @ENDNODE
  18. @NODE File "pGFX/MonFIB.h"
  19. #ifndef __INC_POS_PGFX_MONFIB_H
  20. #define __INC_POS_PGFX_MONFIB_H
  21. /*******************************************************************
  22.  Includes Release 24
  23.  (C) Copyright 1995-1997 proDAD
  24.      All Rights Reserved
  25.  
  26.  $AUT Holger Burkarth
  27.  $DAT >>MonFIB.h<<   25 Jan 1997    09:42:25 - (C) ProDAD
  28. *******************************************************************/
  29. #ifndef __INC_POS_PLAYER_RECT_H
  30. #include <@{"pLayer/Rect.h" LINK "pLayer/Rect.h/File"}>
  31. #endif
  32. #ifndef __INC_POS_PGFX_MODEID_H
  33. #include <@{"pGFX/ModeID.h" LINK "pGFX/ModeID.h/File"}>
  34. #endif
  35. #ifndef __INC_POS_PGFX_GFXBASE_H
  36. #include <@{"pGFX/GFXBase.h" LINK "pGFX/GFXBase.h/File"}>
  37. #endif
  38.  
  39. /*----------------------------------
  40. -----------------------------------*/
  41. struct pOS_MonInfoBlock
  42. {
  43.   @{"ULONG" LINK "pExec/Types.h/File" 91}            mfib_Key[4];       /* private for the handler */
  44.  
  45.   @{"CHAR" LINK "pExec/Types.h/File" 100}             mfib_Name[pOS_MonFileName_MAX];
  46.   @{"UBYTE" LINK "pExec/Types.h/File" 95}            mfib_Type;         /* (enum pOS_MonitorInfoType) */
  47.   @{"UBYTE" LINK "pExec/Types.h/File" 95}            mfib_Pad0;
  48.  
  49.   @{"struct pOS_Point" LINK "pLayer/Rect.h/File" 26} mfib_ViewPosition;
  50.   @{"struct pOS_Point" LINK "pLayer/Rect.h/File" 26} mfib_DefaultViewPosition;
  51.   @{"struct pOS_Point" LINK "pLayer/Rect.h/File" 26} mfib_MinPixelResolution;            /* z.B. 320x200 */
  52.   @{"struct pOS_Point" LINK "pLayer/Rect.h/File" 26} mfib_MaxPixelResolution;            /* z.B. 32767x32767 */
  53.   @{"struct pOS_Point" LINK "pLayer/Rect.h/File" 26} mfib_PixelResolution[OSCANTYP_MAX]; /* z.B. 640x512 */
  54.  
  55.   @{"UBYTE" LINK "pExec/Types.h/File" 95}            mfib_RedBits;
  56.   @{"UBYTE" LINK "pExec/Types.h/File" 95}            mfib_GreenBits;
  57.   @{"UBYTE" LINK "pExec/Types.h/File" 95}            mfib_BlueBits;
  58.   @{"UBYTE" LINK "pExec/Types.h/File" 95}            mfib_AlphaBits;
  59.  
  60.   @{"ULONG" LINK "pExec/Types.h/File" 91}            mfib_Colors[24];       /* @{"NULL" LINK "pExec/Types.h/File" 117} => End of Array */
  61.  
  62.   @{"UBYTE" LINK "pExec/Types.h/File" 95}            mfib_DefaultColorIdx;  /* Default-Index at mfib_Colors[] */
  63.   @{"UBYTE" LINK "pExec/Types.h/File" 95}            mfib_XAspect;
  64.   @{"UBYTE" LINK "pExec/Types.h/File" 95}            mfib_YAspect;
  65.   @{"UBYTE" LINK "pExec/Types.h/File" 95}            mfib_Pad1;
  66.   @{"ULONG" LINK "pExec/Types.h/File" 91}            mfib_GfxMapType;
  67.   @{"ULONG" LINK "pExec/Types.h/File" 91}            mfib_ColorMapType;
  68.  
  69.   @{"ULONG" LINK "pExec/Types.h/File" 91}            mfib_PixelFrequence;   /* PixelFreq. in Picohertz */
  70.   @{"ULONG" LINK "pExec/Types.h/File" 91}            mfib_FrameFrequence;   /* VBlanks per Sec. * 0x10000 */
  71.   @{"ULONG" LINK "pExec/Types.h/File" 91}            mfib_LineFrequence;    /* Lines per Sec */
  72.  
  73.   @{"UWORD" LINK "pExec/Types.h/File" 93}            mfib_SpriteNum;        /* Number of Sprites */
  74.   @{"struct pOS_Point" LINK "pLayer/Rect.h/File" 26} mfib_SpriteResolution; /* */
  75.   @{"ULONG" LINK "pExec/Types.h/File" 91}            mfib_SpcFlags;         /* (enum pOS_MonitorInfoSpFlags) */
  76.  
  77.   @{"UBYTE" LINK "pExec/Types.h/File" 95}  mfib_Reserved[32];
  78. };
  79.  
  80.  
  81.  
  82.  
  83. enum pOS_MonitorInfoType
  84. {
  85.   MONINTYP_Unknown = 0,
  86.   MONINTYP_Dir     = 0x01, /* Bit 0 */
  87.   MONINTYP_File    = 0x02, /* Bit 1 */
  88.  
  89.   MONINTYP_FDMask  = 0x03, /* MONINTYP_File | MONINTYP_Dir */
  90.  
  91.   MONINTYP_Node    = 0x10, /* only a mark */
  92. };
  93.  
  94.  
  95.  
  96. enum pOS_MonitorInfoSpFlags /** mfib_SpcFlags **/
  97. {
  98.   MONINSPF_HDrag = 0x0001, /* horiz. drag able */
  99.   MONINSPF_VDrag = 0x0002, /* vert. drag able */
  100. };
  101.  
  102.  
  103.  
  104.  
  105. #endif
  106. @ENDNODE
  107.