home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / cbm / os-include.lha / os-include / graphics / layers.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  2KB  |  61 lines

  1. #ifndef    GRAPHICS_LAYERS_H
  2. #define    GRAPHICS_LAYERS_H
  3. /*
  4. **    $VER: layers.h 39.4 (14.4.92)
  5. **    Includes Release 40.15
  6. **
  7. **    (C) Copyright 1985-1993 Commodore-Amiga, Inc.
  8. **        All Rights Reserved
  9. */
  10.  
  11. #ifndef EXEC_LISTS_H
  12. #include <exec/lists.h>
  13. #endif
  14.  
  15. #ifndef EXEC_SEMAPHORES_H
  16. #include <exec/semaphores.h>
  17. #endif
  18.  
  19. #define LAYERSIMPLE        1
  20. #define LAYERSMART        2
  21. #define LAYERSUPER        4
  22. #define LAYERUPDATING        0x10
  23. #define LAYERBACKDROP        0x40
  24. #define LAYERREFRESH        0x80
  25. #define    LAYERIREFRESH        0x200
  26. #define    LAYERIREFRESH2        0x400
  27. #define LAYER_CLIPRECTS_LOST    0x100    /* during BeginUpdate */
  28.                     /* or during layerop */
  29.                     /* this happens if out of memory */
  30.  
  31. struct Layer_Info
  32. {
  33. struct    Layer        *top_layer;
  34. struct    Layer        *check_lp;        /* !! Private !! */
  35. struct    ClipRect    *obs;
  36. struct    ClipRect    *FreeClipRects;        /* !! Private !! */
  37.     LONG        PrivateReserve1;    /* !! Private !! */
  38.     LONG        PrivateReserve2;    /* !! Private !! */
  39. struct    SignalSemaphore    Lock;            /* !! Private !! */
  40. struct    MinList        gs_Head;        /* !! Private !! */
  41.     WORD        PrivateReserve3;    /* !! Private !! */
  42.     VOID        *PrivateReserve4;    /* !! Private !! */
  43.     UWORD        Flags;
  44.     BYTE        fatten_count;        /* !! Private !! */
  45.     BYTE        LockLayersCount;    /* !! Private !! */
  46.     WORD        PrivateReserve5;    /* !! Private !! */
  47.     VOID        *BlankHook;        /* !! Private !! */
  48.     VOID        *LayerInfo_extra;    /* !! Private !! */
  49. };
  50.  
  51. #define NEWLAYERINFO_CALLED 1
  52.  
  53. /*
  54.  * LAYERS_NOBACKFILL is the value needed to get no backfill hook
  55.  * LAYERS_BACKFILL is the value needed to get the default backfill hook
  56.  */
  57. #define    LAYERS_NOBACKFILL    ((struct Hook *)1)
  58. #define    LAYERS_BACKFILL        ((struct Hook *)0)
  59.  
  60. #endif    /* GRAPHICS_LAYERS_H */
  61.