home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / TRSICAT.LZX / CATS_CD2_TRSI / Inc&AD1.3 / Includes / graphics / layers.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-12  |  1.1 KB  |  53 lines

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