1 #ifndef GRAPHICS_LAYERS_H
2 #define GRAPHICS_LAYERS_H
5 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
8 Desc: Layer description
12 #include <exec/semaphores.h>
13 #include <graphics/gfx.h>
14 #include <graphics/layersext.h>
18 struct Layer
* top_layer
;
19 struct Layer
* check_lp
;
20 struct ClipRect
* obs
;
21 struct ClipRect
* FreeClipRects
;
26 struct SignalSemaphore Lock
;
27 struct MinList gs_Head
;
30 VOID
* PrivateReserve4
;
37 VOID
* LayerInfo_extra
;
40 #define NEWLAYERINFO_CALLED 1
42 #define LAYERSIMPLE (1<<0)
43 #define LAYERSMART (1<<1)
44 #define LAYERSUPER (1<<2)
45 #define LAYERUPDATING (1<<4)
46 #define LAYERBACKDROP (1<<6)
47 #define LAYERREFRESH (1<<7)
48 #define LAYER_CLIPRECTS_LOST (1<<8)
49 #define LAYERIREFRESH (1<<9)
50 #define LAYERIREFRESH2 (1<<10)
52 #define LAYERS_BACKFILL ((struct Hook *)0)
53 #define LAYERS_NOBACKFILL ((struct Hook *)1)
57 #define LIFLG_SUPPORTS_OFFSCREEN_LAYERS (1 << 8) /* Same flag as AmigaOS hack PowerWindowsNG */
59 /* Backfill hook message */
60 struct BackFillMessage
63 struct Rectangle Bounds
;
68 #endif /* GRAPHICS_LAYERS_H */