home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / pOSxA.lzx / pOSxA / graphics / layers.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-12  |  1.1 KB  |  49 lines

  1. #ifndef    GRAPHICS_LAYERS_H
  2. #define    GRAPHICS_LAYERS_H
  3.  
  4. /*******************************************************************
  5.  pOS / Amiga adapt
  6. *******************************************************************/
  7.  
  8. #ifndef EXEC_TYPES_H
  9. #include <exec/types.h>
  10. #endif
  11. #ifndef __INC_POS_PLAYER_CLIP_H
  12. #include <p:pLayer/Clip.h>
  13. #endif
  14. #ifndef EXEC_LISTS_H
  15. #include <exec/lists.h>
  16. #endif
  17. #ifndef EXEC_SEMAPHORES_H
  18. #include <exec/semaphores.h>
  19. #endif
  20.  
  21. #define LAYERSIMPLE        LAYERF_Simple
  22. #define LAYERSMART        LAYERF_Smart
  23. #define LAYERSUPER        LAYERF_Super
  24. #define LAYERREFRESH        LAYERF_Refresh
  25.  
  26. struct Layer_Info
  27. {
  28.   struct Node            li_Node;
  29.   struct List            li_List;
  30.   struct SignalSemaphore li_Lock;
  31.   struct pOS_GfxMap     *li_GfxMap;
  32.   UWORD                  li_Flags;
  33.   struct List            li_HookList;
  34.   UBYTE li_Reserved[16];
  35. };
  36.  
  37.  
  38. #ifdef __IGNORE_NOT_SUPPORTED__
  39.  
  40.  #define LAYERUPDATING           0x10
  41.  #define LAYERBACKDROP           0x40
  42.  #define NEWLAYERINFO_CALLED 1
  43.  #define LAYERS_NOBACKFILL  ((struct Hook *)1)
  44.  #define LAYERS_BACKFILL    ((struct Hook *)0)
  45.  
  46. #endif /** __IGNORE_NOT_SUPPORTED__ **/
  47.  
  48. #endif    /* GRAPHICS_LAYERS_H */
  49.