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

  1. #ifndef __INC_POS_PGFX_GFXMAP_H
  2. #define __INC_POS_PGFX_GFXMAP_H
  3. /*******************************************************************
  4.  Includes Release 24
  5.  (C) Copyright 1995-1997 proDAD
  6.      All Rights Reserved
  7.  
  8.  $AUT Holger Burkarth
  9.  $DAT >>GfxMap.h<<   23 Oct 1996    15:52:15 - (C) ProDAD
  10. *******************************************************************/
  11. #ifndef __INC_POS_PEXEC_TYPES_H
  12. #include <pExec/Types.h>
  13. #endif
  14.  
  15.  
  16. /*----------------------------------
  17. -----------------------------------*/
  18. struct pOS_GfxMap
  19. {
  20.   struct pOS_GfxLibrary *gm_Base;
  21.   ULONG                  gm_UserData[2];
  22.   ULONG                  gm_Width;
  23.   ULONG                  gm_Height;
  24.   UWORD                  gm_Type;        /* (enum pOS_GfxMapType) */
  25.   UWORD                  gm_Pad;
  26.   ULONG                  gm_Flags;       /* (enum pOS_GfxMapFlags) */
  27.   struct pOS_GfxMapEx   *gm_Ex;          /* System-Extension */
  28.   UBYTE gm_Reserved[32];
  29. };
  30.  
  31.  
  32.  
  33.  
  34. enum pOS_GfxMapFlags /* gm_Flags */
  35. {
  36.   GFXMAPF_Draw    = 0x0001,     /* in die GfxMap kann gezeichnet werden */
  37.   GFXMAPF_Display = 0x0002,     /* die GfxMap kann angezeicht werden */
  38.  
  39.  
  40.   GFXMAPF_Clear=    0x80000000, /* GfxMap ist genullt */
  41. };
  42.  
  43.  
  44. enum pOS_GfxMapType /* gm_Type */
  45. {
  46.   GFXMAPTYP_None=0,
  47.   GFXMAPTYP_Planar,     /* Planar-Map */
  48.   GFXMAPTYP_BitMask,    /* 1Bit - Map */
  49.   GFXMAPTYP_Chunky8,    /* 8Bit-Chunky */
  50.  
  51.  
  52.   GFXMAPTYP_StdPlanar=0x80, /* (struct pOS_StdPlanarGfxMap) */
  53.   GFXMAPTYP_StdChunky8,     /* (struct pOS_StdChunky8GfxMap) */
  54.   GFXMAPTYP_StdRGB8,        /* (struct pOS_StdRGB8GfxMap) */
  55.   GFXMAPTYP_StdMask,        /* (struct pOS_StdMaskGfxMap) */
  56.   GFXMAPTYP_StdRGBA8,       /* (struct pOS_StdRGBA8GfxMap) */
  57.   GFXMAPTYP_StdAlpha8,      /* (struct pOS_StdAlpha8GfxMap) */
  58.   GFXMAPTYP_MAXStd
  59. };
  60.  
  61.  
  62.  
  63. #endif
  64.