home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / graphics / layers.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  981 b   |  55 lines

  1. #ifndef GRAPHICS_LAYERS_H
  2. #define GRAPHICS_LAYERS_H
  3. /*
  4. ** $Filename: graphics/layers.h $
  5. ** $Release: 2.04 Includes, V37.4 $
  6. ** $Revision: 37.0 $
  7. ** $Date: 91/01/07 $
  8. **
  9. **
  10. **
  11. ** (C) Copyright 1985-1991 Commodore-Amiga, Inc.
  12. ** All Rights Reserved
  13. */
  14.  
  15. #ifndef EXEC_LISTS_H
  16. #include <exec/lists.h>
  17. #endif
  18.  
  19. #ifndef EXEC_SEMAPHORES_H
  20. #include <exec/semaphores.h>
  21. #endif
  22.  
  23. #define LAYERSIMPLE 1
  24. #define LAYERSMART 2
  25. #define LAYERSUPER 4
  26. #define LAYERUPDATING 0x10
  27. #define LAYERBACKDROP 0x40
  28. #define LAYERREFRESH 0x80
  29. #define LAYER_CLIPRECTS_LOST 0x100 
  30.  
  31.  
  32. #define LMN_REGION -1
  33.  
  34. struct Layer_Info
  35. {
  36.  struct Layer *top_layer;
  37.  struct Layer *check_lp; 
  38.  struct ClipRect *obs; 
  39.  struct MinList FreeClipRects;
  40.  struct SignalSemaphore Lock;
  41.  struct List gs_Head; 
  42.  LONG longreserved;
  43.  UWORD Flags;
  44.  BYTE fatten_count;
  45.  BYTE LockLayersCount;
  46.  UWORD LayerInfo_extra_size;
  47.  WORD *blitbuff;
  48.  VOID *LayerInfo_extra;
  49. };
  50.  
  51. #define NEWLAYERINFO_CALLED 1
  52. #define ALERTLAYERSNOMEM 0x83010000
  53.  
  54. #endif 
  55.