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

  1. #ifndef __INC_POS_PGFX_STDGMAP_H
  2. #define __INC_POS_PGFX_STDGMAP_H
  3. /*******************************************************************
  4.  Includes Release 24
  5.  (C) Copyright 1995-1997 proDAD
  6.      All Rights Reserved
  7.  
  8.  $AUT Holger Burkarth
  9.  $DAT >>StdGMap.h<<   17 Jan 1997    12:01:31 - (C) ProDAD
  10. *******************************************************************/
  11. #ifndef __INC_POS_PGFX_GFXMAP_H
  12. #include <pGFX/GfxMap.h>
  13. #endif
  14.  
  15.  
  16. /*----------------------------------
  17. plgm_Gfx.gm_Type = GFXMAPTYP_StdPlanar
  18.  PlaneSize = plgm_BytesPerRow*gm_Height
  19. -----------------------------------*/
  20. struct pOS_StdPlanarGfxMap
  21. {
  22.   struct pOS_GfxMap  plgm_Gfx;
  23.   UWORD              plgm_BytesPerRow; /* ( (gm_Width+15)/8 ) & ~0x01 */
  24.   UBYTE              plgm_Depth;       /* Anzahl der gültigen plgm_Planes[]-Zeigern */
  25.   UBYTE              plgm_Pad;
  26.   UBYTE             *plgm_Planes[8];
  27. };
  28.  
  29.  
  30. /*----------------------------------
  31. ckgm_Gfx.gm_Type = GFXMAPTYP_StdChunky8
  32.  PlaneSize = gm_Width*gm_Height
  33. -----------------------------------*/
  34. struct pOS_StdChunky8GfxMap
  35. {
  36.   struct pOS_GfxMap  ckgm_Gfx;
  37.   UBYTE             *ckgm_Chunky;
  38. };
  39.  
  40.  
  41. /*----------------------------------
  42. rgbgm_Gfx.gm_Type = GFXMAPTYP_StdRGB8
  43.  PlaneSize = gm_Width*gm_Height
  44. -----------------------------------*/
  45. struct pOS_StdRGB8GfxMap
  46. {
  47.   struct pOS_GfxMap  rgbgm_Gfx;
  48.   ULONG              rgbgm_Pad;
  49.   UBYTE             *rgbgm_R;
  50.   UBYTE             *rgbgm_G;
  51.   UBYTE             *rgbgm_B;
  52. };
  53.  
  54.  
  55. /*----------------------------------
  56. mkgm_Gfx.gm_Type = GFXMAPTYP_StdMask
  57.  PlaneSize = mkgm_BytesPerRow*gm_Height
  58. -----------------------------------*/
  59. struct pOS_StdMaskGfxMap
  60. {
  61.   struct pOS_GfxMap  mkgm_Gfx;
  62.   UWORD              mkgm_BytesPerRow; /* ( (gm_Width+15)/8 ) & ~0x01 */
  63.   UBYTE              mkgm_Depth;       /* always 1 */
  64.   UBYTE              mkgm_Pad;
  65.   UBYTE             *mkgm_Plane;
  66. };
  67.  
  68.  
  69. /*----------------------------------
  70. ragm_Gfx.gm_Type = GFXMAPTYP_StdRGBA8
  71.  PlaneSize = gm_Width*gm_Height
  72. -----------------------------------*/
  73. struct pOS_StdRGBA8GfxMap
  74. {
  75.   struct pOS_GfxMap  ragm_Gfx;
  76.   UBYTE             *ragm_A;
  77.   UBYTE             *ragm_R;
  78.   UBYTE             *ragm_G;
  79.   UBYTE             *ragm_B;
  80. };
  81.  
  82. /*----------------------------------
  83. aagm_Gfx.gm_Type = GFXMAPTYP_StdAlpha8
  84.  PlaneSize = gm_Width*gm_Height
  85. -----------------------------------*/
  86. struct pOS_StdAlpha8GfxMap
  87. {
  88.   struct pOS_GfxMap  aagm_Gfx;
  89.   UBYTE             *aagm_A;
  90. };
  91.  
  92.  
  93.  
  94. #endif
  95.